Skip to content
Snippets Groups Projects
Commit 1f8065fb authored by Daniel Vonk's avatar Daniel Vonk
Browse files

Change binary output dir for CI

We can't upload artifacts outside of the source dir so change the CI
build dir to build-ci/
parent 3f67d86b
No related branches found
No related tags found
2 merge requests!19Merge develop into main,!13Add CI System to Sassena and Modernize Build-System
......@@ -26,11 +26,11 @@ build-job: # This job runs in the build stage, which runs first.
image: $CI_REGISTRY/daphne4nfdi/sassena:latest
script:
- cmake --preset=ci .
- cd /builds/DAPHNE4NFDI/build
- cd build-ci
- ninja -j2
artifacts:
paths:
- "/builds/DAPHNE4NFDI/build"
- "build-ci"
unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
......@@ -38,7 +38,7 @@ unit-test-job: # This job runs in the test stage.
dependencies:
- build-job
script:
- cd /builds/DAPHNE4NFDI/build
- cd build-ci
- ninja test
lint-test-job: # This job also runs in the test stage.
......
......@@ -23,7 +23,7 @@
{
"name": "ci",
"generator": "Ninja",
"binaryDir": "${sourceDir}/../build",
"binaryDir": "${sourceDir}/build-${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"USE_DEVELOPER_MODE": "ON",
......
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