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

Update ci

parent 8e48174d
No related branches found
No related tags found
1 merge request!1Version 0.1.0 (setup)
Pipeline #2033 failed
......@@ -30,9 +30,6 @@ waves:
- rm waves-master.tar.bz2
- mv waves-master waves
- cd waves
- echo ${GIT_CLONE_PATH}
- echo ${CI_PROJECT_DIR}/../waves
- pwd
- mkdir build
- cd build
- cmake -Wno-dev -C ../CMake/disable-trilinos.cmake ..
......@@ -43,7 +40,7 @@ format:
stage: build
script:
- clang-format --version # we use clang-format-10 exclusively
- ${GIT_CLONE_PATH}/../waves/scripts/format_code.py
- ${CI_PROJECT_DIR}/../waves/scripts/format_code.py
- mkdir -p patches
- if git diff --patch --exit-code > patches/clang-format.patch; then echo "Clang format changed nothing"; else echo "Clang format found changes to make!"; false; fi
artifacts:
......@@ -61,7 +58,7 @@ build:
script:
- mkdir build
- cd build
- cmake -DCMAKE_PREFIX_PATH=${GIT_CLONE_PATH}/../waves -Wno-dev ..
- cmake -DCMAKE_PREFIX_PATH=${CI_PROJECT_DIR}/../waves -Wno-dev ..
- make -j $(nproc)
artifacts:
paths:
......
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