@@ -248,65 +248,42 @@ 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 : ubuntu-latest
256256 strategy :
257257 matrix :
258- profile :
259- - dev
260- - release
261-
258+ target :
259+ - aarch64-unknown-linux-gnu
260+ - aarch64_be-unknown-linux-gnu
261+ - armv7-unknown-linux-gnueabihf
262+ - arm-unknown-linux-gnueabihf
263+ profile : [dev, release]
262264 include :
263- - target :
264- tuple : aarch64-unknown-linux-gnu
265- os : ubuntu-latest
266-
267- - target :
268- tuple : aarch64_be-unknown-linux-gnu
269- os : ubuntu-latest
270- build_std : true
271-
272- - target :
273- tuple : armv7-unknown-linux-gnueabihf
274- os : ubuntu-latest
275-
276- - target :
277- tuple : arm-unknown-linux-gnueabihf
278- os : ubuntu-latest
265+ - target : aarch64_be-unknown-linux-gnu
266+ build_std : true
279267
280268 steps :
281269 - uses : actions/checkout@v4
282270 - name : Install Rust
283271 run : |
284272 rustup update nightly --no-self-update
285273 rustup default nightly
286- shell : bash
287- - run : rustup target add ${{ matrix.target.tuple }}
288- shell : bash
274+ - run : rustup target add ${{ matrix.target }}
289275 if : ${{ (matrix.build_std || false) == false }}
290276 - run : |
291277 rustup component add rust-src
292278 echo "CARGO_UNSTABLE_BUILD_STD=std" >> $GITHUB_ENV
293- shell: bash
294- if: ${{ (matrix.build_std || false) == true }}
279+ if: ${{ matrix.build_std }}
295280
296281 # Configure some env vars based on matrix configuration
297- - run : echo "PROFILE=--profile=${{matrix.profile}}" >> $GITHUB_ENV
298- 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
303- 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')
282+ - run : echo "PROFILE=--profile=${{ matrix.profile }}" >> $GITHUB_ENV
283+ - run : ./ci/intrinsic-test-docker.sh ${{ matrix.target }}
284+ if : ${{ !startsWith(matrix.target, 'thumb') }}
308285 env :
309- TARGET : ${{ matrix.target.tuple }}
286+ TARGET : ${{ matrix.target }}
310287
311288 # Check that the generated files agree with the checked-in versions.
312289 check-stdarch-gen :
0 commit comments