CI: refactored pipeline

master
Martin Gerhardy 2021-04-27 23:35:29 +02:00
parent 6ff45ffd48
commit 10ceb5978e
1 changed files with 13 additions and 11 deletions

View File

@ -1,9 +1,6 @@
image: registry.gitlab.com/mgerhardy/engine-docker:master
stages: stages:
- build - build
- test - test
- analyse
variables: variables:
CCACHE_BASEDIR: ${CI_PROJECT_DIR} CCACHE_BASEDIR: ${CI_PROJECT_DIR}
@ -17,19 +14,24 @@ variables:
- ccache/ - ccache/
- build/ - build/
.build-unity: .build: &build
<<: *buildcache image: registry.gitlab.com/vengi/build-images/${CI_JOB_NAME}:master
stage: build stage: build
script: script:
- cmake -H. -B${BUILD_DIR} -DDISABLE_UNITY=Off - cmake -H. -B${BUILD_DIR}
- make -j 4 all -C ${BUILD_DIR} - make -j 4 all -C ${BUILD_DIR}
build-non-unity: osx-x86_64:
<<: *buildcache <<: *buildcache
stage: build <<: *build
script:
- cmake -H. -B${BUILD_DIR} -DDISABLE_UNITY=On mxe:
- make -j 4 all -C ${BUILD_DIR} <<: *buildcache
<<: *build
debian:
<<: *buildcache
<<: *build
.test: .test:
variables: variables: