Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 76be91b0 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

ci: Enable detached build, and add the interuptible flag

parent 445057a7
No related branches found
No related tags found
1 merge request!258Check that CHAMELEON_Init() was successful in testing
...@@ -61,10 +61,9 @@ build_starpu_simgrid: ...@@ -61,10 +61,9 @@ build_starpu_simgrid:
VERSION: starpu_simgrid VERSION: starpu_simgrid
build_starpu_macosx: build_starpu_macosx:
extends: .only-master
stage: build stage: build
tags: ['macosx'] tags: ['macosx']
except:
- schedules
artifacts: artifacts:
untracked: true untracked: true
name: build_starpu_macosx name: build_starpu_macosx
......
...@@ -3,21 +3,26 @@ ...@@ -3,21 +3,26 @@
# #
--- ---
.only-master: .only-master:
image: registry.gitlab.inria.fr/solverstack/docker/distrib
interruptible: true
only: only:
- master@solverstack/chameleon - master@solverstack/chameleon
- /^ci-.*$/ - /^ci-.*$/
except:
- schedules
.only-branches: .only-branches:
image: registry.gitlab.inria.fr/solverstack/docker/distrib
interruptible: true
only: only:
- branches - merge_requests
- master@solverstack/chameleon - master@solverstack/chameleon
- /^ci-.*$/ - /^ci-.*$/
except: except:
- master
- schedules - schedules
.build_script_template: .build_script_template:
image: registry.gitlab.inria.fr/solverstack/docker/distrib extends: .only-branches
stage: build stage: build
tags: ["linux"] tags: ["linux"]
script: script:
...@@ -41,7 +46,6 @@ ...@@ -41,7 +46,6 @@
- schedules - schedules
.test_script_template: .test_script_template:
image: registry.gitlab.inria.fr/solverstack/docker/distrib
stage: test stage: test
tags: ["linux"] tags: ["linux"]
script: script:
...@@ -62,8 +66,6 @@ ...@@ -62,8 +66,6 @@
- lcov --directory build-$VERSION --capture --output-file ./${LOGNAME}.lcov - lcov --directory build-$VERSION --capture --output-file ./${LOGNAME}.lcov
- (cd build-$VERSION && lcov --directory . --capture --output-file ../bis_${LOGNAME}.lcov) - (cd build-$VERSION && lcov --directory . --capture --output-file ../bis_${LOGNAME}.lcov)
- xsltproc -o report.xml /home/gitlab/ctest-to-junit.xsl build-$VERSION/Testing/**/Test.xml - xsltproc -o report.xml /home/gitlab/ctest-to-junit.xsl build-$VERSION/Testing/**/Test.xml
except:
- schedules
.bench_plafrim_common: .bench_plafrim_common:
only: only:
......
...@@ -17,7 +17,5 @@ coverage: ...@@ -17,7 +17,5 @@ coverage:
- for name in $( ls -1 bis_chameleon_*.lcov | grep -v simgrid); do export INPUT_FILES="$INPUT_FILES -a $name"; done - for name in $( ls -1 bis_chameleon_*.lcov | grep -v simgrid); do export INPUT_FILES="$INPUT_FILES -a $name"; done
- lcov $INPUT_FILES -o bis_chameleon.lcov - lcov $INPUT_FILES -o bis_chameleon.lcov
- lcov --summary bis_chameleon.lcov - lcov --summary bis_chameleon.lcov
except: only:
- master - merge_requests
- /^ci-.*$/
- schedules
--- ---
coverity: coverity:
image: registry.gitlab.inria.fr/solverstack/docker/distrib extends: .only-master
stage: analyse stage: analyse
tags: ["linux"] tags: ["linux"]
dependencies: [] dependencies: []
...@@ -23,7 +23,3 @@ coverity: ...@@ -23,7 +23,3 @@ coverity:
--form version="`git rev-parse --short HEAD`" --form version="`git rev-parse --short HEAD`"
--form description="" --form description=""
https://scan.coverity.com/builds?project=Chameleon https://scan.coverity.com/builds?project=Chameleon
only:
- master@solverstack/chameleon
except:
- schedules
...@@ -90,10 +90,9 @@ test_starpu_mpi_z: ...@@ -90,10 +90,9 @@ test_starpu_mpi_z:
TESTS_RESTRICTION: "-R \"_${CATEGORY}_${PRECISION}\"" TESTS_RESTRICTION: "-R \"_${CATEGORY}_${PRECISION}\""
test_starpu_shm_s_macosx: test_starpu_shm_s_macosx:
extends: .only-master
stage: test stage: test
tags: ['macosx'] tags: ['macosx']
except:
- schedules
needs: [build_starpu_macosx] needs: [build_starpu_macosx]
dependencies: dependencies:
- build_starpu_macosx - build_starpu_macosx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment