-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
47 lines (47 loc) · 1.08 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
- test
build-typesafe:
stage: build
script:
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Release -DTYPE_SAFE=ON
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
- rm -rf ../bin/*
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DTYPE_SAFE=ON
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
build-release:
stage: build
script:
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
build-debug:
stage: build
script:
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Debug
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
artifacts:
paths:
- "bin"
test-allocator:
stage: test
script:
- ./scripts/linux/runTest.sh allocator
test-containers:
stage: test
script:
- ./scripts/linux/runTest.sh containers
test-expression:
stage: test
script:
- ./scripts/linux/runTest.sh expression
test-graph:
stage: test
script:
- ./scripts/linux/runTest.sh graph
test-math:
stage: test
script:
- ./scripts/linux/runTest.sh math