Commit 512eaef3 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1436 Yaml: do not run CI pipeline on master branch.

parent 586bae19
Pipeline #85352 passed with stages
in 14 minutes and 58 seconds
...@@ -8,6 +8,8 @@ variables: ...@@ -8,6 +8,8 @@ variables:
.build_template_linux: &build_template_linux .build_template_linux: &build_template_linux
stage: build_and_test stage: build_and_test
except:
- master
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE} image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}
cache: cache:
key: "cache_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}" key: "cache_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}"
...@@ -38,6 +40,8 @@ variables: ...@@ -38,6 +40,8 @@ variables:
stage: build_and_test stage: build_and_test
tags: tags:
- macos - macos
except:
- master
cache: cache:
key: "cache_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}" key: "cache_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}"
untracked: true untracked: true
...@@ -60,6 +64,8 @@ variables: ...@@ -60,6 +64,8 @@ variables:
.run_doxygen_template: &run_doxygen_template .run_doxygen_template: &run_doxygen_template
stage: build_and_test stage: build_and_test
image: ubuntu:latest image: ubuntu:latest
except:
- master
artifacts: artifacts:
name: "artifact_run_doxygen_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${DOX}" name: "artifact_run_doxygen_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${DOX}"
expire_in: 1 day expire_in: 1 day
...@@ -75,6 +81,8 @@ variables: ...@@ -75,6 +81,8 @@ variables:
.check_compilation_warning_template: &check_compilation_warning_template .check_compilation_warning_template: &check_compilation_warning_template
stage: check_warnings stage: check_warnings
except:
- master
image: alpine:latest image: alpine:latest
before_script: before_script:
...@@ -88,6 +96,9 @@ variables: ...@@ -88,6 +96,9 @@ variables:
.check_doxygen_warning_template: &check_doxygen_warning_template .check_doxygen_warning_template: &check_doxygen_warning_template
stage: check_warnings stage: check_warnings
except:
- master
image: alpine:latest image: alpine:latest
artifacts: artifacts:
name: "artifact_check_warning_doxygen_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${DOXYGEN_OUTPUT_FILE}" name: "artifact_check_warning_doxygen_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${DOXYGEN_OUTPUT_FILE}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment