Mentions légales du service

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

Merge branch 'set-new-ci-vm' into 'master'

Load the environment from a shell script to facilitate CI machines setup

See merge request !59
parents 8eb4229c d24ef0a2
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# custom environment used during CI tests with gitlab ci
# these paths may depend on the runner used, please be careful and add
# the necessary if blocks depending on the machine
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=/builds/sonar/lcov-to-cobertura-xml-1.6/lcov_cobertura:$PATH
export PATH=/builds/sonar/sonar-scanner-2.9.0.670/bin:$PATH
export QUARK_DIR=/builds/install/quark
export PARSEC_DIR=/builds/install/parsec
export STARPU_DIR=/builds/install/starpu
if [ "$1" == "simu" ]; then
export STARPU_DIR=/builds/install/starpu-simgrid
export SIMGRID_DIR=/builds/install/simgrid
fi
export PKG_CONFIG_PATH=$PARSEC_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
starpu: starpu:
script: script:
- git submodule init - source .gitlab-ci-env.sh
- git submodule update - git submodule update --init --recursive
- mkdir build - mkdir -p build
- cd build - cd build
- cmake .. - cmake ..
- make -j2 - make -j2
...@@ -13,22 +13,20 @@ starpu: ...@@ -13,22 +13,20 @@ starpu:
starpu-simgrid: starpu-simgrid:
script: script:
- git submodule init - source .gitlab-ci-env.sh simu
- git submodule update - git submodule update --init --recursive
- mkdir build - mkdir -p build
- cd build - cd build
- . $HOME/spack/share/spack/setup-env.sh
- spack load hwloc && spack load fxt && spack load simgrid && spack load starpu
- cmake .. -DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF - cmake .. -DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF
- make -j2 - make -j2
- ctest -V - ctest -V
quark: quark:
script: script:
- git submodule init - source .gitlab-ci-env.sh
- git submodule update - git submodule update --init --recursive
- mkdir build - mkdir -p build
- cd build - cd build
- cmake .. -DCHAMELEON_SCHED_QUARK=ON - cmake .. -DCHAMELEON_SCHED_QUARK=ON
- make -j2 - make -j2
- ctest -V -R test_shm_s - ctest -V -R test_shm_s
\ No newline at end of file
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