From 1800e0ef9a1508a19ed0a9945b684ee796b65a65 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Tue, 26 Nov 2024 09:15:38 +0900 Subject: [PATCH 1/4] ci: Add RISC-V platforms for LLVM testing This commit adds the RV32I, RV32E and RV64I Zephyr boards for testing the Clang/LLVM toolchain. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 349f6029..1ed7c672 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1765,9 +1765,12 @@ jobs: # PLATFORM_ARGS+="-p mps3/an547 " # Add RISC-V platforms - ## TODO: Add RV32I platforms - ## TODO: Add RV32E platforms - ## TODO: Add RV64I platforms + ## RV32I + PLATFORM_ARGS+="-p qemu_riscv32 " + ## RV32E + PLATFORM_ARGS+="-p qemu_riscv32e " + ## RV64I + PLATFORM_ARGS+="-p qemu_riscv64 " fi # Generate test list From 8463d55de6cdca5dee9c41c79fba2965fcf397e8 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Tue, 26 Nov 2024 14:50:36 +0900 Subject: [PATCH 2/4] ci: Disable LLVM qemu_riscv32 testing There are issues building tests for qemu_riscv32 using the LLVM toolchain. Revert this commit once these issues are fixed on the Zephyr side. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ed7c672..ad71e1e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1766,7 +1766,8 @@ jobs: # Add RISC-V platforms ## RV32I - PLATFORM_ARGS+="-p qemu_riscv32 " + # FIXME: There are issues building some tests for qemu_riscv32. + # PLATFORM_ARGS+="-p qemu_riscv32 " ## RV32E PLATFORM_ARGS+="-p qemu_riscv32e " ## RV64I From cd032e47c1351b5192b20930aa4b5fc9b05c894e Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Tue, 26 Nov 2024 14:52:51 +0900 Subject: [PATCH 3/4] ci: Disable LLVM qemu_riscv32e testing There are issues building tests for qemu_riscv32e using the LLVM toolchain. Revert this commit once these issues are fixed on the Zephyr side. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad71e1e2..3ac071ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1769,7 +1769,8 @@ jobs: # FIXME: There are issues building some tests for qemu_riscv32. # PLATFORM_ARGS+="-p qemu_riscv32 " ## RV32E - PLATFORM_ARGS+="-p qemu_riscv32e " + # FIXME: There are issues building some tests for qemu_riscv32e. + # PLATFORM_ARGS+="-p qemu_riscv32e " ## RV64I PLATFORM_ARGS+="-p qemu_riscv64 " fi From 1657455f1e845d763caba4d261e03b3dafab21ea Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Tue, 26 Nov 2024 14:53:35 +0900 Subject: [PATCH 4/4] ci: Disable LLVM qemu_riscv64 testing There are issues building tests for qemu_riscv64 using the LLVM toolchain. Revert this commit once these issues are fixed on the Zephyr side. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ac071ae..2d443e35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1772,7 +1772,8 @@ jobs: # FIXME: There are issues building some tests for qemu_riscv32e. # PLATFORM_ARGS+="-p qemu_riscv32e " ## RV64I - PLATFORM_ARGS+="-p qemu_riscv64 " + # FIXME: There are issues building some tests for qemu_riscv64. + # PLATFORM_ARGS+="-p qemu_riscv64 " fi # Generate test list