Skip to content

Commit 37ae14d

Browse files
Simplify CI file (#176)
Remove use of 'sandbox' image. While doing so, simplify the CI. For it/gitlab-ci-images#52 Co-authored-by: Boris Yakobowski <[email protected]>
1 parent 65a3633 commit 37ae14d

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

.adacore-gitlab-ci.yml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
workflow:
2-
rules:
3-
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
4-
5-
anod_build:
6-
services:
7-
- image:sandbox
8-
- cpu:8
9-
- mem:16
10-
stage: build
11-
script:
12-
- export ANOD_DEFAULT_SANDBOX_DIR=/it/wave
13-
14-
# Check out QSYM
15-
- cd runtime/qsym_backend
16-
- git clone -b symcc https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/eng/fuzz/qsym
17-
18-
# Use our repositories
19-
- anod vcs --add-repo symcc $CI_PROJECT_DIR
20-
- anod vcs --add-repo qsym $CI_PROJECT_DIR/runtime/qsym_backend/qsym
21-
22-
# Build SymCC
23-
- anod source symcc
24-
- anod build symcc
1+
include:
2+
- component: $CI_SERVER_FQDN/eng/gitlab-templates/build@~latest
3+
inputs:
4+
anod-args: build symcc
5+
generic-anod-ci-args: --add-dep eng/fuzz/qsym

0 commit comments

Comments
 (0)