File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,10 @@ jobs:
301
301
steps :
302
302
- name : Checkout
303
303
uses : actions/checkout@v4
304
+ - name : Install rust
305
+ run : |
306
+ rustup install 1.88
307
+ rustup default 1.88
304
308
- name : Install Dependencies
305
309
run : |
306
310
sudo apt-get -y update
Original file line number Diff line number Diff line change 6
6
rustup target add armv7r-none-eabi
7
7
rustup target add armv7r-none-eabihf
8
8
rustup target add armv7a-none-eabi
9
- rustup toolchain add nightly
10
- rustup component add rust-src --toolchain=nightly
9
+ rustup component add rust-src
11
10
12
11
FAILURE=0
13
12
@@ -64,10 +63,10 @@ if qemu-system-arm --version | grep "version 9"; then
64
63
for bin_path in $( ls examples/mps3-an536/src/bin/* .rs) ; do
65
64
filename=${bin_path##*/ }
66
65
binary=${filename% .rs}
67
- cargo +nightly run ${mps3_an536_cargo} --target=armv8r-none-eabihf --bin $binary --features=gic -Zbuild-std=core | tee ./target/$binary -armv8r-none-eabihf.out
66
+ RUSTC_BOOTSTRAP=1 cargo run ${mps3_an536_cargo} --target=armv8r-none-eabihf --bin $binary --features=gic -Zbuild-std=core | tee ./target/$binary -armv8r-none-eabihf.out
68
67
my_diff ./examples/mps3-an536/reference/$binary -armv8r-none-eabihf.out ./target/$binary -armv8r-none-eabihf.out || fail $binary " armv8r-none-eabihf"
69
68
done
70
- cargo +nightly run ${mps3_an536_cargo} --target=armv8r-none-eabihf --bin smp_test --features=gic -Zbuild-std=core -- -smp 2 | tee ./target/smp_test-armv8r-none-eabihf_smp2.out
69
+ RUSTC_BOOTSTRAP=1 cargo run ${mps3_an536_cargo} --target=armv8r-none-eabihf --bin smp_test --features=gic -Zbuild-std=core -- -smp 2 | tee ./target/smp_test-armv8r-none-eabihf_smp2.out
71
70
my_diff ./examples/mps3-an536/reference/smp_test-armv8r-none-eabihf_smp2.out ./target/smp_test-armv8r-none-eabihf_smp2.out || fail smp_test " armv8r-none-eabihf"
72
71
fi
73
72
You can’t perform that action at this time.
0 commit comments