-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
65 lines (60 loc) · 1.59 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
stages:
- lint
- build
- test
default:
image: ubuntu:20.04
before_script:
- apt-get update --yes
lint:
stage: lint
script:
- apt-get install --yes clang-format cppcheck
- ./scripts/dev-lint.sh
timeout: 3 minutes
build:
stage: build
script:
- DEBIAN_FRONTEND=noninteractive apt-get install --yes python3-pip cmake git make
- pip3 install conan==1.60.2
- conan profile new default --detect
- conan profile update settings.compiler.libcxx=libstdc++11 default
- ./scripts/build-dlx.sh
- ./scripts/build-cadical.sh
- ./scripts/build-cryptominisat.sh
- ./scripts/build-kissat.sh
- ./scripts/build-breakid.sh
- ./scripts/build-sbva.sh
- ./scripts/build-pblib.sh
- ./scripts/dev-setup.sh -DGUROBI=OFF -DMINIZINC=OFF
- ./scripts/dev-build.sh
artifacts:
paths:
- build
timeout: 10 minutes
test:
stage: test
script:
- ./scripts/dev-test.sh
timeout: 3 minutes
release:
when: manual
stage: lint
script:
- DEBIAN_FRONTEND=noninteractive apt-get install --yes python3-pip cmake git make
- pip3 install conan==1.60.2
- conan profile new default --detect
- conan profile update settings.compiler.libcxx=libstdc++11 default
- ./scripts/build-dlx.sh
- ./scripts/build-cadical.sh
- ./scripts/build-cryptominisat.sh
- ./scripts/build-kissat.sh
- ./scripts/build-breakid.sh
- ./scripts/build-sbva.sh
- ./scripts/build-pblib.sh
- ./scripts/release-setup.sh -DGUROBI=OFF -DMINIZINC=OFF
- ./scripts/release-build.sh
artifacts:
paths:
- release
timeout: 10 minutes