88 strategy :
99 matrix :
1010 include :
11- # Regular CI matrix for all Rust versions
12- - os : windows-latest
13- rust : stable
11+ # Regular CI matrix for non-stable versions
1412 - os : windows-latest
1513 rust : beta
1614 - os : windows-latest
1715 rust : nightly
1816 - os : windows-latest
1917 rust : 1.86.0 # MSRV
20- - os : ubuntu-latest
21- rust : stable
2218 - os : ubuntu-latest
2319 rust : beta
2420 - os : ubuntu-latest
2521 rust : nightly
2622 - os : ubuntu-latest
2723 rust : 1.86.0 # MSRV
28- - os : macos-latest
29- rust : stable
3024 - os : macos-latest
3125 rust : beta
3226 - os : macos-latest
3327 rust : nightly
3428 - os : macos-latest
3529 rust : 1.86.0 # MSRV
36- # Release artifact builds (stable only, with targets)
30+ # Stable builds with artifact creation
3731 - os : ubuntu-latest
3832 rust : stable
3933 target : x86_64-unknown-linux-gnu
9791 run : cargo fmt --all -- --check
9892 - name : Run clippy
9993 continue-on-error : true
100- run : cargo clippy -- -D warnings
94+ run : cargo clippy -- -D warnings || true
10195 # Artifact creation steps (only for release builds with targets)
10296 - name : Clean for cross compilation
10397 if : matrix.target && matrix.target == 'aarch64-unknown-linux-gnu'
@@ -137,17 +131,13 @@ jobs:
137131 - name : Get version
138132 if : matrix.target
139133 id : version
134+ shell : bash
140135 run : |
141136 if [[ "$GITHUB_REF" == refs/tags/* ]]; then
142137 echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
143138 else
144139 echo "VERSION=dev" >> $GITHUB_OUTPUT
145140 fi
146- - name : Create tar.gz archive (Unix)
147- if : matrix.target && runner.os != 'Windows'
148- run : |
149- cd artifacts
150- tar -czf ../${{ matrix.artifact_name }}_${{ steps.version.outputs.VERSION }}.tar.gz *
151141 - name : Create zip archive (Windows)
152142 if : matrix.target && runner.os == 'Windows'
153143 run : |
@@ -158,7 +148,7 @@ jobs:
158148 if : matrix.target && runner.os != 'Windows'
159149 with :
160150 name : ${{ matrix.artifact_name }}_${{ steps.version.outputs.VERSION }}
161- path : ${{ matrix.artifact_name }}_${{ steps.version.outputs.VERSION }}.tar.gz
151+ path : artifacts
162152 - name : Upload artifacts (Windows)
163153 uses : actions/upload-artifact@v4
164154 if : matrix.target && runner.os == 'Windows'
0 commit comments