-
Notifications
You must be signed in to change notification settings - Fork 73
/
.gitlab-ci.yml
40 lines (36 loc) · 1.09 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
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "web" # manually triggered via web interface
- if: ($CI_MERGE_REQUEST_IID || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH)
.run-in-ubuntu:
image: ubuntu:latest
tags:
- docker
- linux
before_script:
- apt update
- apt install -y --no-install-recommends ca-certificates git sbcl make curl gcc pkg-config liblapack-dev libblas-dev libgfortran5 gfortran libffi-dev libffi7 libssl-dev
- echo "$QUILC_CA_BUNDLE" > /usr/local/share/ca-certificates/my-ca.crt && update-ca-certificates
- mkdir -p ${HOME}/quicklisp/local-projects
- git -C ${HOME}/quicklisp/local-projects clone https://github.com/quil-lang/magicl.git
- git -C ${HOME}/quicklisp/local-projects clone https://github.com/quil-lang/qvm.git
- make quicklisp
- make install-test-deps
test-cl-quil:
stage: test
extends:
- .run-in-ubuntu
script:
- make test-cl-quil
test-quilc:
stage: test
extends:
- .run-in-ubuntu
script:
- make test-quilc
test-quilt:
stage: test
extends:
- .run-in-ubuntu
script:
- make test-quilt