|
2 | 2 | on: [push, pull_request, workflow_dispatch] |
3 | 3 | jobs: |
4 | 4 | linux_x86_64: |
5 | | - name: Linux x86-64 |
| 5 | + name: Linux (x86-64) |
6 | 6 | runs-on: ubuntu-24.04 |
7 | 7 | steps: |
8 | 8 | - name: Checkout |
|
21 | 21 | run: cargo fmt --all -- --check |
22 | 22 | - name: Check Docs |
23 | 23 | 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) |
26 | 31 | runs-on: ubuntu-24.04-arm |
27 | 32 | steps: |
28 | 33 | - name: Checkout |
|
35 | 40 | run: cargo build --release --all |
36 | 41 | - name: Execute Tests |
37 | 42 | 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-* |
38 | 48 | windows_x86_64: |
39 | | - name: Windows x86-64 |
| 49 | + name: Windows (x86-64) |
40 | 50 | runs-on: windows-2025 |
41 | 51 | steps: |
42 | 52 | - name: Checkout |
|
49 | 59 | run: cargo build --release --all |
50 | 60 | - name: Execute Tests |
51 | 61 | 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) |
54 | 69 | runs-on: windows-11-arm |
55 | 70 | steps: |
56 | 71 | - name: Checkout |
|
63 | 78 | run: cargo build --release --all |
64 | 79 | - name: Execute Tests |
65 | 80 | 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 |
66 | 86 | mac_x86_64: |
67 | | - name: MacOS x86-64 |
| 87 | + name: MacOS (x86-64) |
68 | 88 | runs-on: macos-15 |
69 | 89 | steps: |
70 | 90 | - name: Checkout |
|
79 | 99 | run: cargo build --release --all --target x86_64-apple-darwin |
80 | 100 | - name: Execute Tests |
81 | 101 | 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) |
84 | 109 | runs-on: macos-15 |
85 | 110 | steps: |
86 | 111 | - name: Checkout |
|
93 | 118 | run: cargo build --release --all --target aarch64-apple-darwin |
94 | 119 | - name: Execute Tests |
95 | 120 | 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