CI: refactored pipeline
parent
6ff45ffd48
commit
10ceb5978e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue