-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
47 lines (44 loc) · 1.1 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
stages:
- build
build-gcc:
image: mapret/cppimage:v2
stage: build
script:
- g++ --version
- mkdir build
- cmake -G="Ninja Multi-Config" -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_CXX_COMPILER=g++ -S . -B build
- cmake --build build --config Release
- cmake --build build --config Debug
artifacts:
paths:
- build/Release/gpupdf
- build/Debug/gpupdf
expire_in: 1 week
build-clang:
image: mapret/linux-clang:v1
stage: build
script:
- clang++ --version
- mkdir build
- cmake -G="Ninja Multi-Config" -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_CXX_COMPILER=clang++ -S . -B build
- cmake --build build --config Release
- cmake --build build --config Debug
artifacts:
paths:
- build/Release/gpupdf
- build/Debug/gpupdf
expire_in: 1 week
build-msvc:
tags:
- saas-windows-medium-amd64
stage: build
script:
- mkdir build
- cmake -S . -B build
- cmake --build build --config Release
- cmake --build build --config Debug
artifacts:
paths:
- build/Release/gpupdf.exe
- build/Debug/gpupdf.exe
expire_in: 1 week