Skip to content
Snippets Groups Projects
Commit 403b0035 authored by Adrien Crovato's avatar Adrien Crovato
Browse files

Update ci

parent 9fad5697
No related branches found
No related tags found
1 merge request!1Version 0.1.0 (setup)
Pipeline #2040 failed
...@@ -34,6 +34,7 @@ waves: ...@@ -34,6 +34,7 @@ waves:
- cd build - cd build
- cmake -Wno-dev -C ../CMake/disable-trilinos.cmake .. - cmake -Wno-dev -C ../CMake/disable-trilinos.cmake ..
- make -j $(nproc) - make -j $(nproc)
- ls ${CI_PROJECT_DIR}/..
artifacts: artifacts:
paths: paths:
- ../waves/ - ../waves/
...@@ -43,6 +44,7 @@ format: ...@@ -43,6 +44,7 @@ format:
<<: *global_tag_def <<: *global_tag_def
stage: build stage: build
script: script:
- ls ${CI_PROJECT_DIR}/..
- clang-format --version # we use clang-format-10 exclusively - clang-format --version # we use clang-format-10 exclusively
- ${CI_PROJECT_DIR}/../waves/scripts/format_code.py - ${CI_PROJECT_DIR}/../waves/scripts/format_code.py
- mkdir -p patches - mkdir -p patches
...@@ -60,6 +62,7 @@ build: ...@@ -60,6 +62,7 @@ build:
<<: *global_tag_def <<: *global_tag_def
stage: build stage: build
script: script:
- ls ${CI_PROJECT_DIR}/..
- mkdir build - mkdir build
- cd build - cd build
- cmake -DCMAKE_PREFIX_PATH=${CI_PROJECT_DIR}/../waves -Wno-dev .. - cmake -DCMAKE_PREFIX_PATH=${CI_PROJECT_DIR}/../waves -Wno-dev ..
...@@ -88,6 +91,7 @@ ctest: ...@@ -88,6 +91,7 @@ ctest:
<<: *global_tag_def <<: *global_tag_def
stage: test stage: test
script: script:
- ls ${CI_PROJECT_DIR}/..
- cd build - cd build
- ctest -j $(nproc) --output-on-failure #--verbose - ctest -j $(nproc) --output-on-failure #--verbose
#timeout: 10 hours # will be available in 12.3 #timeout: 10 hours # will be available in 12.3
......
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