From 941a7ee17fc7e353222d9224e1bdce9fe150062b Mon Sep 17 00:00:00 2001 From: Alexey Gerenkov Date: Wed, 18 Sep 2024 23:01:16 +0300 Subject: [PATCH] change(ci): Add qemu host tests for esp32c3 builds with Clang --- .gitlab/ci/host-test.yml | 3 +++ examples/get-started/hello_world/pytest_hello_world.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/host-test.yml b/.gitlab/ci/host-test.yml index e1dc5f59a4..29e9491406 100644 --- a/.gitlab/ci/host-test.yml +++ b/.gitlab/ci/host-test.yml @@ -284,8 +284,11 @@ test_pytest_qemu: matrix: - IDF_TARGET: "esp32" INSTALL_EXTRA_TOOLS: "qemu-xtensa" + # Skip Clang + Xtensa tests due to bootloader size issue + IDF_TOOLCHAIN: [gcc] - IDF_TARGET: "esp32c3" INSTALL_EXTRA_TOOLS: "qemu-riscv32" + IDF_TOOLCHAIN: [gcc, clang] script: - run_cmd python tools/ci/ci_build_apps.py . -v --target $IDF_TARGET diff --git a/examples/get-started/hello_world/pytest_hello_world.py b/examples/get-started/hello_world/pytest_hello_world.py index 3524fd9495..30b63b638c 100644 --- a/examples/get-started/hello_world/pytest_hello_world.py +++ b/examples/get-started/hello_world/pytest_hello_world.py @@ -47,7 +47,8 @@ def verify_elf_sha256_embedding(app: QemuApp, sha256_reported: str) -> None: raise ValueError('ELF file SHA256 mismatch') -@pytest.mark.esp32 # we only support qemu on esp32 for now +@pytest.mark.esp32 +@pytest.mark.esp32c3 @pytest.mark.host_test @pytest.mark.qemu def test_hello_world_host(app: QemuApp, dut: QemuDut) -> None: