-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
56 lines (45 loc) · 1.01 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
image: alpine:3.18.2
before_script:
- apk update
- apk add --no-cache python3 py3-pip cmake make git npm automake autoconf gcc g++
pages:
stage: deploy
script:
- pip install -U sphinx
- mkdir -p public
- mkdir -p docs/build
- cd docs/build
- cmake ../
- make docusaurus_doc
- cp -R docusaurus/* ../../public/
- ls ../../public
artifacts:
paths:
- public
only:
- master
# Check if all commiters are in docs/CONTRIBUTORS list
contributors:
image: python:3.9
interruptible: true
before_script:
- pip install GitPython
script:
- python .workflow/check_contrib.py
rules:
- if: $CI_COMMIT_BRANCH
allow_failure: false
image_testing:
image: alpine:3.18.2
interruptible: true
before_script:
- apk update
- apk add --no-cache cmake make git gcc musl-dev iverilog
script:
- mkdir build
- cd build
- cmake -DSOCMAKE_BUILD_TESTING=1 ../
- make check
rules:
- if: $CI_COMMIT_BRANCH
allow_failure: false