File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 20
20
strategy :
21
21
matrix :
22
22
target :
23
+ - " thumbv7em-none-eabi"
23
24
- " aarch64-unknown-none-softfloat"
24
25
- " riscv64gc-unknown-none-elf"
25
26
- " x86_64-unknown-linux-gnu"
52
53
strategy :
53
54
matrix :
54
55
target :
56
+ - " thumbv7em-none-eabi"
55
57
- " aarch64-unknown-none-softfloat"
56
58
- " riscv64gc-unknown-none-elf"
57
59
70
72
sudo apt update
71
73
sudo apt install qemu-system
72
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
79
+
73
80
- name : Run tests AARCH64
74
81
if : matrix.target == 'aarch64-unknown-none-softfloat'
75
82
run : |
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ TIMEOUT="timeout 10"
4
4
if [[ $1 == * " aarch64" * ]]; then
5
5
$TIMEOUT qemu-system-aarch64 -M raspi3b -display none -semihosting -kernel $1
6
6
elif [[ $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
9
8
elif [[ $1 == * " riscv64" * ]]; then
10
9
$TIMEOUT qemu-system-riscv64 -M virt -bios tests/riscv64_virt/fw_jump.elf -display none -kernel $1
11
10
fi
You can’t perform that action at this time.
0 commit comments