Build regression tests in GitLab CI

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee 2024-11-07 11:47:55 -08:00
parent 0828ab67b2
commit 630b38238d

View file

@ -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: []