From 630b38238d8ba66202ebb264a4cf00219a879c05 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Thu, 7 Nov 2024 11:47:55 -0800 Subject: [PATCH] Build regression tests in GitLab CI Signed-off-by: Ryan Lee --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bbed7bc3..7ecc81133 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,6 +125,17 @@ test-profiles: - make -C profiles check-abstractions.d - make -C profiles check-local +# Build the regression tests (don't run them because that needs kernel access) +test-build-regression: + stage: test + needs: ["build-all"] + extends: + - .ubuntu-before_script + script: + - *install-c-build-deps + # Additional dependencies required by regression tests + - apt-get install --no-install-recommends -y attr libdbus-1-dev liburing-dev + - make -C tests/regression/apparmor -j $(nproc) shellcheck: stage: test needs: []