forked from QEDjl-project/QEDfields.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
31 lines (29 loc) · 821 Bytes
/
.gitlab-ci.yml
File metadata and controls
31 lines (29 loc) · 821 Bytes
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
stages:
- generate
- run
generate_pipeline:
image: julia:1.10
stage: generate
variables:
CI_GIT_CI_TOOLS_URL: https://github.com/QEDjl-project/QuantumElectrodynamics.jl.git
CI_GIT_CI_TOOLS_BRANCH: dev
script:
- apt update && apt install -y git
- git clone --depth 1 -b $CI_GIT_CI_TOOLS_BRANCH $CI_GIT_CI_TOOLS_URL /generator
- julia --project=/generator/.ci/CI -e 'import Pkg; Pkg.instantiate()'
- julia --project=/generator/.ci/CI /generator/.ci/CI/src/Bootloader.jl > $CI_PROJECT_DIR/pipeline.yaml
- cat $CI_PROJECT_DIR/pipeline.yaml
artifacts:
paths:
- pipeline.yaml
expire_in: 1 week
interruptible: true
tags:
- cpuonly
run_pipeline:
stage: run
trigger:
include:
- artifact: pipeline.yaml
job: generate_pipeline
strategy: depend