Skip to content

Commit 8982f0a

Browse files
committed
CI: Fix ARCH=riscv was not tested
The 'make clean' command does not delete config files. This led to an issue during testing with ARCH=riscv, where 'make' used the ARCH=arm config because the config file already existed. Consequently, ARCH=arm was tested twice while ARCH=riscv wasn't tested at all. The fix involves changing 'make clean' to 'make distclean' to ensure that ARCH=riscv undergoes complete testing.
1 parent a1d1ddc commit 8982f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
sudo apt-get install -q -y build-essential
2222
make clean config
2323
make check-snapshots || exit 1
24-
make clean config ARCH=arm
24+
make distclean config ARCH=arm
2525
make check || exit 1
26-
make clean config ARCH=riscv
26+
make distclean config ARCH=riscv
2727
make check || exit 1
2828
2929
host-arm:

0 commit comments

Comments
 (0)