Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
ceb30a32
Commit
ceb30a32
authored
Jan 05, 2018
by
PRUVOST Florent
Browse files
separate build and test jobs
parent
3416d987
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ceb30a32
image
:
hpclib/hiepacs
stages
:
-
buildtest
-
build
-
test
-
analysis
-
doc
...
...
@@ -10,41 +11,56 @@ before_script:
-
source .gitlab-ci-env.sh
-
mkdir -p build
starpu_cuda_mpi
:
stage
:
build
test
build_
starpu_cuda_mpi
:
stage
:
build
artifacts
:
name
:
starpu_cuda_mpi
name
:
build_
starpu_cuda_mpi
expire_in
:
48 hours
paths
:
-
build
-
chameleon-build-starpu.log
-
chameleon_starpu_mpi.lcov
script
:
-
(cd build &&
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake ..
-DCHAMELEON_USE_CUDA=ON
-DCHAMELEON_USE_MPI=ON &&
ctest --no-compress-output -V -j
5
-R "test_shm_s|mpi_s"
-D ExperimentalBuild
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee ../chameleon-build-starpu.log)
-
lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
-
(cd build &&
make install | tee -a ../chameleon-build-starpu.log &&
rm install/ -r)
starpu_simgrid
:
stage
:
buildtest
test_starpu_cuda_mpi
:
stage
:
test
dependencies
:
-
build_starpu_cuda_mpi
artifacts
:
name
:
starpu_simgrid
name
:
test_starpu_cuda_mpi
expire_in
:
48 hours
paths
:
-
build
-
chameleon-build-starpu.log
-
chameleon_starpu_mpi.lcov
script
:
-
(cd build &&
ctest --no-compress-output -V -j
5
-R "test_shm_s|mpi_s"
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee -a ../chameleon-build-starpu.log)
-
lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
build_starpu_simgrid
:
stage
:
build
artifacts
:
name
:
build_starpu_simgrid
expire_in
:
48 hours
paths
:
-
build
-
chameleon-build-starpu-simgrid.log
-
chameleon_starpu_simgrid.lcov
script
:
-
source .gitlab-ci-env.sh simu
-
(cd build &&
...
...
@@ -54,46 +70,80 @@ starpu_simgrid:
-DCHAMELEON_USE_MPI=OFF &&
ctest --no-compress-output -V -j
5
-D ExperimentalBuild
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee ../chameleon-build-starpu-simgrid.log)
-
lcov --directory build --capture --output-file chameleon_starpu_simgrid.lcov
-
(cd build &&
make install | tee -a ../chameleon-build-starpu-simgrid.log &&
rm install/ -r)
quark
:
stage
:
buildtest
test_starpu_simgrid
:
stage
:
test
dependencies
:
-
build_starpu_simgrid
artifacts
:
name
:
test_starpu_simgrid
expire_in
:
48 hours
paths
:
-
build
-
chameleon-build-starpu-simgrid.log
-
chameleon_starpu_simgrid.lcov
script
:
-
source .gitlab-ci-env.sh simu
-
(cd build &&
ctest --no-compress-output -V -j
5
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee -a ../chameleon-build-starpu-simgrid.log)
-
lcov --directory build --capture --output-file chameleon_starpu_simgrid.lcov
build_quark
:
stage
:
build
artifacts
:
name
:
quark
name
:
build_
quark
expire_in
:
48 hours
paths
:
-
build
-
chameleon-build-quark.log
-
chameleon_quark.lcov
script
:
-
(cd build &&
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake ..
-DCHAMELEON_SCHED_QUARK=ON &&
ctest --no-compress-output -V -j
5
-R "test_shm_s"
-D ExperimentalBuild
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee ../chameleon-build-quark.log)
-
lcov --directory build --capture --output-file chameleon_quark.lcov
-
(cd build &&
make install | tee -a ../chameleon-build-quark.log &&
rm install/ -r)
test_quark
:
stage
:
test
dependencies
:
-
build_quark
artifacts
:
name
:
build_quark
expire_in
:
48 hours
paths
:
-
build
-
chameleon-build-quark.log
-
chameleon_quark.lcov
script
:
-
(cd build &&
ctest --no-compress-output -V -j
5
-R "test_shm_s"
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee -a ../chameleon-build-quark.log)
-
lcov --directory build --capture --output-file chameleon_quark.lcov
sonar
:
stage
:
analysis
dependencies
:
-
starpu_cuda_mpi
-
starpu_simgrid
-
quark
-
test_
starpu_cuda_mpi
-
test_
starpu_simgrid
-
test_
quark
artifacts
:
name
:
chameleon_analysis
expire_in
:
1 week
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment