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

[ci] Use needs: keyword for DAG.

parent 83af064d
No related branches found
No related tags found
No related merge requests found
build gui linux: build gui linux:
extends: .template-build-linux extends: .template-build-linux
stage: gui stage: gui
needs:
- job: build linux
artifacts: false
rules: rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- changes: - changes:
- Applications/DataExplorer/**/* - Applications/DataExplorer/**/*
when: always
- when: manual - when: manual
allow_failure: true
variables: variables:
BUILD_DIR: "build-gui-linux" BUILD_DIR: "build-gui-linux"
......
build gui mac: build gui mac:
extends: .template-build-linux extends: .template-build-linux
stage: gui stage: gui
needs:
- job: build mac
artifacts: false
tags: tags:
- mac - mac
rules: rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- changes: - changes:
- Applications/DataExplorer/**/* - Applications/DataExplorer/**/*
when: always
- when: manual - when: manual
allow_failure: true
variables: variables:
BUILD_DIR: "build-gui-mac" BUILD_DIR: "build-gui-mac"
......
build gui win: build gui win:
extends: .template-build-win extends: .template-build-win
stage: gui stage: gui
needs:
- job: build win
artifacts: false
rules: rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- changes: - changes:
- Applications/DataExplorer/**/* - Applications/DataExplorer/**/*
when: always
- when: manual - when: manual
allow_failure: true
variables: variables:
BUILD_DIR: build-gui-win BUILD_DIR: build-gui-win
......
...@@ -3,10 +3,10 @@ compiler warnings: ...@@ -3,10 +3,10 @@ compiler warnings:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
allow_failure: true allow_failure: true
dependencies: needs:
- build linux - job: build linux
- build win - job: build win
- build mac - job: build mac
script: script:
- exit_code=0 - exit_code=0
- cd build - cd build
...@@ -24,10 +24,10 @@ ctest results: ...@@ -24,10 +24,10 @@ ctest results:
GIT_STRATEGY: none GIT_STRATEGY: none
tags: tags:
- singularity - singularity
dependencies: needs:
- build linux - job: build linux
- build win - job: build win
- build mac - job: build mac
script: script:
- singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build/Tests/ctest.xml > build/ctest-junit.xml - singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build/Tests/ctest.xml > build/ctest-junit.xml
- singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build-win/Tests/ctest.xml > build-win/ctest-junit.xml - singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build-win/Tests/ctest.xml > build-win/ctest-junit.xml
......
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