diff --git a/.github/scripts/matrix.py b/.github/scripts/matrix.py index 4cefd1ac..0be8e6e2 100644 --- a/.github/scripts/matrix.py +++ b/.github/scripts/matrix.py @@ -51,6 +51,8 @@ def get_tests(config): "test_maps", "test_verifier", ] + if int(config.get("llvm-version", 0)) >= 18: + tests.append("test_progs_cpuv4") if config.get("parallel_tests", False): return tests return [test for test in tests if not test.endswith("parallel")] diff --git a/ci/vmtest/run_selftests.sh b/ci/vmtest/run_selftests.sh index 8c0fee32..7f65d46f 100755 --- a/ci/vmtest/run_selftests.sh +++ b/ci/vmtest/run_selftests.sh @@ -101,6 +101,10 @@ test_progs_no_alu32_parallel() { test_progs_helper "-no_alu32" "-j" } +test_progs_cpuv4() { + test_progs_helper "-cpuv4" "" +} + test_maps() { foldable start test_maps "Testing test_maps" taskset 0xF ./test_maps && true @@ -179,6 +183,7 @@ read_test_names "$@" if [ ${#TEST_NAMES[@]} -eq 0 ]; then test_progs test_progs_no_alu32 + test_progs_cpuv4 test_maps test_verifier else