-
Notifications
You must be signed in to change notification settings - Fork 57
/
.gitlab-ci.yml
58 lines (53 loc) · 948 Bytes
/
.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
stages:
- test
workflow:
rules:
- if: $CI_COMMIT_BRANCH
formal:
tags:
- size-md
stage: test
image: gcr.io/hdl-containers/formal
before_script:
- export PATH="/root/.local/bin:$PATH"
- apt-get update
- apt-get install -y
git
python3-pip
sudo
wget
- export DEBIAN_FRONTEND=noninteractive
- ./init
- cd formal
- mkdir env
- touch env/PASSED
# - ./make_env.sh
script:
- NPROC=1 make tos_agree verif
.react-build:
tags:
- size-md
image: node:16
before_script:
- cd configurator
- yarn --frozen-lockfile
script:
- CI=false yarn build
- cp -r build/ ../public/
artifacts:
paths:
- public
react-build:
tags:
- size-md
stage: test
extends:
- .react-build
rules:
- if: $CI_COMMIT_BRANCH != "master"
pages:
stage: test
extends:
- .react-build
rules:
- if: $CI_COMMIT_BRANCH == "master"