53
53
fi
54
54
done
55
55
- name: Install Rust via Rustup
56
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
56
+ run: |
57
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |
58
+ sh -s -- -y --profile minimal
57
59
- name: Add Rust tools to path
58
60
run: echo "PATH=$HOME/.cargo/bin:$PATH" >> "$GITHUB_ENV"
59
61
- name: Generate dependency tree
@@ -236,11 +238,11 @@ jobs:
236
238
- container-arch: i386
237
239
runner-arch: amd64
238
240
runner-os: ubuntu-latest
239
- toolchain: stable- i686-unknown-linux-gnu
241
+ host-triple: i686-unknown-linux-gnu
240
242
- container-arch: arm32v7
241
243
runner-arch: arm64
242
244
runner-os: ubuntu-24.04-arm
243
- toolchain: stable- armv7-unknown-linux-gnueabihf
245
+ host-triple: armv7-unknown-linux-gnueabihf
244
246
245
247
runs-on: ${{ matrix.runner-os }}
246
248
@@ -265,10 +267,13 @@ jobs:
265
267
apt-get install --no-install-recommends -y -- "${prerequisites[@]}"
266
268
shell: bash
267
269
- uses: actions/checkout@v4
268
- - uses: dtolnay/rust-toolchain@stable
269
- with:
270
- # Avoid possible misdetection based on the 64-bit running kernel.
271
- toolchain: ${{ matrix.toolchain }}
270
+ - name: Install Rust via Rustup
271
+ run: |
272
+ # Specify toolchain to avoid possible misdetection based on the 64-bit running kernel.
273
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |
274
+ sh -s -- -y --default-host ${{ matrix.host-triple }} --profile minimal
275
+ - name: Add Rust tools to path
276
+ run: echo "PATH=$HOME/.cargo/bin:$PATH" >> "$GITHUB_ENV"
272
277
- uses: Swatinem/rust-cache@v2
273
278
- uses: taiki-e/install-action@v2
274
279
with:
@@ -420,7 +425,6 @@ jobs:
420
425
cargo-deny-advisories
421
426
wasm
422
427
tests-pass
423
- test-32bit
424
428
425
429
defaults:
426
430
run:
@@ -455,6 +459,7 @@ jobs:
455
459
- test-journey
456
460
- test-fast
457
461
- test-fixtures-windows
462
+ - test-32bit
458
463
- lint
459
464
- cargo-deny
460
465
- check-packetline
0 commit comments