forked from quil-lang/quilc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
59 lines (54 loc) · 1.4 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
include:
- project: rigetti/ci
file: pipelines/docker.gitlab-ci.yml
variables:
IMAGE: rigetti/quilc
GIT_SUBMODULE_STRATEGY: recursive
test-cl-quil:
stage: test
tags:
- github
- dockerd
only:
- branches
image: docker:stable
script:
- docker build -t rigetti/quilc:${CI_COMMIT_SHORT_SHA} .
- docker run --rm --entrypoint=make rigetti/quilc:${CI_COMMIT_SHORT_SHA} test-cl-quil
- docker rmi rigetti/quilc:${CI_COMMIT_SHORT_SHA}
test-quilt:
stage: test
tags:
- github
- dockerd
only:
- branches
image: docker:stable
script:
- docker build -t rigetti/quilc:${CI_COMMIT_SHORT_SHA} .
- docker run --rm --entrypoint=make rigetti/quilc:${CI_COMMIT_SHORT_SHA} test-quilt
- docker rmi rigetti/quilc:${CI_COMMIT_SHORT_SHA}
test-quilec:
stage: test
tags:
- github
- dockerd
only:
- branches
image: docker:stable
script:
- docker build -t rigetti/quilc:${CI_COMMIT_SHORT_SHA} .
- docker run --rm --entrypoint=make rigetti/quilc:${CI_COMMIT_SHORT_SHA} test-quilec
- docker rmi rigetti/quilc:${CI_COMMIT_SHORT_SHA}
test-quilc:
stage: test
tags:
- github
- dockerd
only:
- branches
image: docker:stable
script:
- docker build -t rigetti/quilc:${CI_COMMIT_SHORT_SHA} .
- docker run --rm --entrypoint=make rigetti/quilc:${CI_COMMIT_SHORT_SHA} test-quilc
- docker rmi rigetti/quilc:${CI_COMMIT_SHORT_SHA}