Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 945f6aea authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

gitlab-ci: add a variable allowing to use any runners

parent c4e66302
No related branches found
No related tags found
No related merge requests found
Pipeline #1138810 passed
...@@ -40,6 +40,8 @@ build: ...@@ -40,6 +40,8 @@ build:
stage: build stage: build
extends: .only-main-mr extends: .only-main-mr
timeout: 2 hours timeout: 2 hours
variables:
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
script: script:
- cmake -B build -DCMAKE_INSTALL_PREFIX=$PWD/install - cmake -B build -DCMAKE_INSTALL_PREFIX=$PWD/install
-Dscalfmm_USE_MKL=ON -Dscalfmm_USE_MKL=ON
...@@ -66,6 +68,7 @@ test: ...@@ -66,6 +68,7 @@ test:
dependencies: dependencies:
- build - build
variables: variables:
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
OMP_NUM_THREADS: 4 OMP_NUM_THREADS: 4
script: script:
- ctest --test-dir build --output-on-failure --no-compress-output --output-junit $PWD/test.xml - ctest --test-dir build --output-on-failure --no-compress-output --output-junit $PWD/test.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment