Skip to content
Snippets Groups Projects
Verified Commit d764a83c authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] guix only pipeline.

parent fa99ae22
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,9 @@ workflow:
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::win only.*/
variables:
PIPELINE_NAME: "win only MR pipeline: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::guix only.*/
variables:
PIPELINE_NAME: "guix only MR pipeline: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"
- if: $CI_MERGE_REQUEST_IID # merge requests
variables:
PIPELINE_NAME: "MR pipeline: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"
......@@ -73,6 +76,9 @@ include:
- local: "/scripts/ci/pipelines/win.yml"
rules:
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::win only.*/
- local: "/scripts/ci/pipelines/guix.yml"
rules:
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::guix only.*/
- local: "/scripts/ci/jobs/build-wheels.yml"
rules:
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::wheels only.*/
......@@ -12,14 +12,21 @@ build guix:
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
allow_failure: true
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::guix only.*/
- when: manual
allow_failure: true
script:
- which guix
- guix describe
# SteadyStateDiffusion only!
- guix build --fallback -L $PWD/.guix/modules ogs-ssd
- guix build --fallback -L $PWD/.guix/modules ogs-petsc-ssd
- |
if [[ "$CI_MERGE_REQUEST_LABELS" =~ .*ci::guix\ only.* ]]; then
guix build --fallback -L $PWD/.guix/modules ogs
guix build --fallback -L $PWD/.guix/modules ogs-petsc
else
guix build --fallback -L $PWD/.guix/modules ogs-ssd
guix build --fallback -L $PWD/.guix/modules ogs-petsc-ssd
fi
deploy guix container eve:
stage: build
......
include:
- local: "/scripts/ci/extends/*.yml"
- local: "/scripts/ci/jobs/build-guix.yml"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment