@@ -248,34 +248,26 @@ jobs:
248248 if : matrix.target.os == 'ubuntu-latest' && !startsWith(matrix.target.tuple, 'thumb')
249249 env :
250250 TARGET : ${{ matrix.target.tuple }}
251-
251+
252252 intrinsic-test :
253253 needs : [style]
254254 name : Intrinsic Test
255- runs-on : ${{ matrix.target. os }}
255+ runs-on : ${{ matrix.os }}
256256 strategy :
257257 matrix :
258- profile :
259- - dev
260- - release
261-
262258 include :
263- - target :
264- tuple : aarch64-unknown-linux-gnu
265- os : ubuntu-latest
259+ - target : aarch64-unknown-linux-gnu
266260
267- - target :
268- tuple : aarch64_be-unknown-linux-gnu
269- os : ubuntu-latest
270- build_std : true
261+ - target : aarch64_be-unknown-linux-gnu
262+ build_std : true
271263
272- - target :
273- tuple : armv7-unknown-linux-gnueabihf
274- os : ubuntu-latest
264+ - target : armv7-unknown-linux-gnueabihf
275265
276- - target :
277- tuple : arm-unknown-linux-gnueabihf
278- os : ubuntu-latest
266+ - target : arm-unknown-linux-gnueabihf
267+
268+ profile :
269+ - dev
270+ - release
279271
280272 steps :
281273 - uses : actions/checkout@v4
@@ -284,29 +276,23 @@ jobs:
284276 rustup update nightly --no-self-update
285277 rustup default nightly
286278 shell : bash
287- - run : rustup target add ${{ matrix.target.tuple }}
279+ - run : rustup target add ${{ matrix.target }}
288280 shell : bash
289281 if : ${{ (matrix.build_std || false) == false }}
290282 - run : |
291283 rustup component add rust-src
292284 echo "CARGO_UNSTABLE_BUILD_STD=std" >> $GITHUB_ENV
293285 shell: bash
294- if: ${{ ( matrix.build_std || false) == true }}
286+ if: ${{ matrix.build_std }}
295287
296288 # Configure some env vars based on matrix configuration
297289 - run : echo "PROFILE=--profile=${{matrix.profile}}" >> $GITHUB_ENV
298290 shell : bash
299- - run : echo "STDARCH_TEST_EVERYTHING=1" >> $GITHUB_ENV
300- shell : bash
301- if : matrix.test_everything != ''
302- - run : echo "STDARCH_DISABLE_ASSERT_INSTR=1" >> $GITHUB_ENV
291+ - run : ./ci/intrinsic-test-docker.sh ${{ matrix.target }}
303292 shell : bash
304- if : matrix.disable_assert_instr != ''
305- - run : ./ci/intrinsic-test-docker.sh ${{ matrix.target.tuple }}
306- shell : bash
307- if : matrix.target.os == 'ubuntu-latest' && !startsWith(matrix.target.tuple, 'thumb')
293+ if : !startsWith(matrix.target, 'thumb')
308294 env :
309- TARGET : ${{ matrix.target.tuple }}
295+ TARGET : ${{ matrix.target }}
310296
311297 # Check that the generated files agree with the checked-in versions.
312298 check-stdarch-gen :
0 commit comments