Commit 82d6cbeb authored by GILLES Sebastien's avatar GILLES Sebastien

#1542 CI: if branch includes 'nobuild' in its name, the build_and_test and...

#1542 CI: if branch includes 'nobuild' in its name, the build_and_test and check_warning stages are both ignored.
parent 339db31d
......@@ -17,6 +17,7 @@ variables:
stage: build_and_test
except:
- master
- /(nobuild)/
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}
cache:
key: "cache_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}"
......@@ -50,7 +51,8 @@ variables:
tags:
- macos
except:
- master
- master
- /(nobuild)/
cache:
key: "cache_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}"
untracked: true
......@@ -74,6 +76,7 @@ variables:
stage: build_and_test
except:
- master
- /(nobuild)/
image: ubuntu:latest
artifacts:
name: "artifact_run_doxygen_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${DOX}"
......@@ -92,6 +95,7 @@ variables:
stage: check_warnings
except:
- master
- /(nobuild)/
image: fedora:latest
before_script:
- dnf update -y && dnf --refresh upgrade -y -q
......@@ -105,6 +109,7 @@ variables:
stage: check_warnings
except:
- master
- /(nobuild)/
# dependencies: in the instantiations!
script:
- python Scripts/Tools/find_warning_in_compilation_log.py --log build/compilation.log
......@@ -114,7 +119,8 @@ variables:
.check_doxygen_warning_template: &check_doxygen_warning_template
stage: check_warnings
except:
- master
- master
- /(nobuild)/
image: fedora:latest
artifacts:
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