Skip to content
Snippets Groups Projects
Commit 3150d5a2 authored by Moritz Kiehn's avatar Moritz Kiehn Committed by Moritz Kiehn
Browse files

ci: move checks to build stage

parent 5a22dc33
No related branches found
No related tags found
No related merge requests found
stages:
- check
- build
- test
......@@ -15,8 +14,13 @@ before_script:
# setup scripts do not like that
- set +e && source CI/setup_lcg94.sh; set -e
# check jobs
# these are technically pre-built checks and were previously in a separate
# pre-build stage. they are now part of the build stage so the user can get
# feedback from both the non-build checks and the build jobs at the same time.
format:
stage: check
stage: build
variables:
GIT_SUBMODULE_STRATEGY: none # we don't need to check core submodule
image: gitlab-registry.cern.ch/acts/machines/check:latest
......@@ -30,7 +34,7 @@ format:
when: on_failure
license:
stage: check
stage: build
image: python:alpine3.6
variables:
GIT_SUBMODULE_STRATEGY: none # we don't need to check core submodule
......@@ -41,7 +45,7 @@ license:
- CI/check_license.py .
versions:
stage: check
stage: build
variables:
GIT_SUBMODULE_STRATEGY: none # we don't need to check core submodule
tags:
......@@ -49,6 +53,8 @@ versions:
script:
- ./CI/show_versions.sh
# build jobs
build:
stage: build
tags:
......@@ -73,6 +79,8 @@ build_vanilla:
- cmake -GNinja -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
- cmake --build .
# test jobs
.examples: &example_base
stage: test
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment