Build: update docker build scripts
[marnav.git] / .gitlab-ci.yml
blob0ffcae0601650c30a17f1466f403368c07d49c38
1 .build_template: &build_definition
2   script:
3     - cmake -B      build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} .
4     - cmake --build build -j
5     - cmake --build build --target unittest
6     - cmake --build build --target test
7     - bin/test-library.sh
9 build:gcc-10.1.0:
10   variables:
11     COMPILER: gcc-10.1.0
12     BUILD_TYPE: Release
13   image: mariokonrad/marnav:${COMPILER}
14   <<: *build_definition
16 build:clang-10.0.0:
17   variables:
18     COMPILER: clang-10.0.0
19     BUILD_TYPE: Release
20   image: mariokonrad/marnav:${COMPILER}
21   <<: *build_definition