File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2020 strategy :
2121 matrix :
2222 target :
23+ - " thumbv7em-none-eabi"
2324 - " aarch64-unknown-none-softfloat"
2425 - " riscv64gc-unknown-none-elf"
2526 - " x86_64-unknown-linux-gnu"
5253 strategy :
5354 matrix :
5455 target :
56+ - " thumbv7em-none-eabi"
5557 - " aarch64-unknown-none-softfloat"
5658 - " riscv64gc-unknown-none-elf"
5759
6870 - name : Install QEMU
6971 run : |
7072 sudo apt update
71- sudo apt install qemu-system
73+ sudo apt install --no-install-recommends qemu-system
74+
75+ - name : Run tests AARCH32
76+ if : matrix.target == 'thumbv7em-none-eabi'
77+ run : |
78+ RUSTFLAGS="-D warnings -C link-arg=-Ttests/armv7m_mps2an500/link.ld" cargo test --target ${{ matrix.target }} --release
7279
7380 - name : Run tests AARCH64
7481 if : matrix.target == 'aarch64-unknown-none-softfloat'
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ TIMEOUT="timeout 10"
44if [[ $1 == * " aarch64" * ]]; then
55 $TIMEOUT qemu-system-aarch64 -M raspi3b -display none -semihosting -kernel $1
66elif [[ $1 == * " thumbv7em" * ]]; then
7- arm-none-eabi-objcopy -O binary $1 /tmp/qemu_exit_armv7em.bin
8- qemu-system-arm -m 16M -nographic -M mps2-an500 -cpu cortex-m7 -serial mon:stdio -semihosting -kernel /tmp/qemu_exit_armv7em.bin
7+ qemu-system-arm -m 16M -nographic -M mps2-an500 -cpu cortex-m7 -serial mon:stdio -semihosting -kernel $1
98elif [[ $1 == * " riscv64" * ]]; then
109 $TIMEOUT qemu-system-riscv64 -M virt -bios tests/riscv64_virt/fw_jump.elf -display none -kernel $1
1110fi
You can’t perform that action at this time.
0 commit comments