aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2231956..0b933c4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,10 +6,7 @@
build:
stage: build
- image: registry.gitlab.ost.ch:45023/teachos/devcontainers/x86-64:15.2.0-4
- before_script:
- - apt update
- - apt install -y clang-tidy cmake grub2-common grub-pc mtools ninja-build xorriso
+ image: registry.gitlab.ost.ch:45023/teachos/devcontainers/x86-64.ci:latest
script:
- cmake --preset $PLATFORM
- cmake --build --preset $PLATFORM-$TYPE
@@ -20,14 +17,12 @@ build:
- kernel.elf
- kernel.sym
- kernel.iso
+ expire_in: 1 week
<<: *build_matrix
bht:
stage: build
- image: registry.gitlab.ost.ch:45023/teachos/devcontainers/x86-64:15.2.0-4
- before_script:
- - apt update
- - apt install -y build-essential cmake ninja-build lcov libcatch2-dev gcovr
+ image: registry.gitlab.ost.ch:45023/teachos/devcontainers/bht.ci:latest
script:
- cmake --preset bht
- cmake --build --preset bht-dbg
@@ -38,7 +33,7 @@ bht:
- gcovr --root . --cobertura-pretty --output coverage/cobertura-coverage.xml
after_script:
- echo "CoverageReport public URL - https://teachos.pages.ost.ch/-/kernel/-/jobs/$CI_JOB_ID/artifacts/coverage/index.html"
- coverage: '/Total:\|\s*(\d+(\.\d+)?)\%/'
+ coverage: '/Total:\|\s*(\d+(?:\.\d+)?)\%/'
artifacts:
paths:
- coverage.info