mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
gitlab-ci: Build regression test suite in CI
Even if we can't run the regression tests in our GitLab CI environment, we can at least ensure the binaries in the regression test suite compile successfully. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1414 Approved-by: Steve Beattie <steve+gitlab@nxnw.org> Merged-by: Steve Beattie <steve+gitlab@nxnw.org>
This commit is contained in:
commit
5b98577a4d
1 changed files with 11 additions and 0 deletions
|
@ -125,6 +125,17 @@ test-profiles:
|
||||||
- make -C profiles check-abstractions.d
|
- make -C profiles check-abstractions.d
|
||||||
- make -C profiles check-local
|
- 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:
|
shellcheck:
|
||||||
stage: test
|
stage: test
|
||||||
needs: []
|
needs: []
|
||||||
|
|
Loading…
Add table
Reference in a new issue