summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 516ae9577..6d17c8dab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,13 +18,20 @@ build:
expire_in: 3h30min
script:
+ - echo "== Info =="
+ - tests/ci-helper.sh "INFO"
+ - tests/ci-helper.sh "GIT_INFO"
+
- echo "== Building =="
- meson . _build
- - ninja -C _build
+ - ninja -C _build 2>&1 | tee compilation.log
- echo "== Installing =="
- ninja -C _build install
+ - echo "== Report =="
+ - tests/ci-helper.sh "WARNINGS"
+
##
# Stage: Test
#
@@ -32,10 +39,20 @@ build:
##
test:
stage: test
+ artifacts:
+ name: log
+ when: always
+ paths:
+ - $(pwd)/*.log
+
dependencies:
- build
script:
+ - echo "== Info =="
+ - tests/ci-helper.sh "INFO"
+ - tests/ci-helper.sh "GIT_INFO"
+
- |
if [[ -n "${CI_COMMIT_TAG}" ]]; then
echo "== Distro Test =="