Skip to content

Commit e4bab67

Browse files
committed
Add build artifacts with E57 tools
1 parent d40a241 commit e4bab67

File tree

1 file changed

+39
-9
lines changed

1 file changed

+39
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on: [push, pull_request, workflow_dispatch]
33
jobs:
44
linux_x86_64:
5-
name: Linux x86-64
5+
name: Linux (x86-64)
66
runs-on: ubuntu-24.04
77
steps:
88
- name: Checkout
@@ -21,8 +21,13 @@ jobs:
2121
run: cargo fmt --all -- --check
2222
- name: Check Docs
2323
run: RUSTDOCFLAGS="-Dwarnings" cargo doc --package e57
24-
linux_aarch64:
25-
name: Linux AArch64
24+
- uses: actions/upload-artifact@v4
25+
with:
26+
name: e57-tools-linux-x86-64
27+
compression-level: 9
28+
path: target/release/e57-*
29+
linux_arm64:
30+
name: Linux (arm64)
2631
runs-on: ubuntu-24.04-arm
2732
steps:
2833
- name: Checkout
@@ -35,8 +40,13 @@ jobs:
3540
run: cargo build --release --all
3641
- name: Execute Tests
3742
run: cargo test --release --all
43+
- uses: actions/upload-artifact@v4
44+
with:
45+
name: e57-tools-linux-arm64
46+
compression-level: 9
47+
path: target/release/e57-*
3848
windows_x86_64:
39-
name: Windows x86-64
49+
name: Windows (x86-64)
4050
runs-on: windows-2025
4151
steps:
4252
- name: Checkout
@@ -49,8 +59,13 @@ jobs:
4959
run: cargo build --release --all
5060
- name: Execute Tests
5161
run: cargo test --release --all
52-
windows_aarch64:
53-
name: Windows AArch64
62+
- uses: actions/upload-artifact@v4
63+
with:
64+
name: e57-tools-windows-x86-64
65+
compression-level: 9
66+
path: target/release/e57-*.exe
67+
windows_arm64:
68+
name: Windows (arm64)
5469
runs-on: windows-11-arm
5570
steps:
5671
- name: Checkout
@@ -63,8 +78,13 @@ jobs:
6378
run: cargo build --release --all
6479
- name: Execute Tests
6580
run: cargo test --release --all
81+
- uses: actions/upload-artifact@v4
82+
with:
83+
name: e57-tools-windows-arm64
84+
compression-level: 9
85+
path: target/release/e57-*.exe
6686
mac_x86_64:
67-
name: MacOS x86-64
87+
name: MacOS (x86-64)
6888
runs-on: macos-15
6989
steps:
7090
- name: Checkout
@@ -79,8 +99,13 @@ jobs:
7999
run: cargo build --release --all --target x86_64-apple-darwin
80100
- name: Execute Tests
81101
run: cargo test --release --all --target x86_64-apple-darwin
82-
mac_aarch64:
83-
name: MacOS AArch64
102+
- uses: actions/upload-artifact@v4
103+
with:
104+
name: e57-tools-macos-x86-64
105+
compression-level: 9
106+
path: target/release/e57-*
107+
mac_arm64:
108+
name: MacOS (arm64)
84109
runs-on: macos-15
85110
steps:
86111
- name: Checkout
@@ -93,3 +118,8 @@ jobs:
93118
run: cargo build --release --all --target aarch64-apple-darwin
94119
- name: Execute Tests
95120
run: cargo test --release --all --target aarch64-apple-darwin
121+
- uses: actions/upload-artifact@v4
122+
with:
123+
name: e57-tools-macos-arm64
124+
compression-level: 9
125+
path: target/release/e57-*

0 commit comments

Comments
 (0)