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

Update ci

parent 1b9f83e1
No related branches found
No related tags found
1 merge request!1Version 0.1.0 (setup)
Pipeline #2032 failed
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -11,7 +11,7 @@ default: ...@@ -11,7 +11,7 @@ default:
- mn2l - mn2l
variables: variables:
GIT_CLONE_PATH: /builds/$CI_PROJECT_PATH/PF/fpm GIT_CLONE_PATH: /builds/$CI_PROJECT_PATH/FPM_BUILD/fpm # cannot work in /builds/$CI_PROJECT_PATH
stages: stages:
- .pre - .pre
...@@ -43,7 +43,7 @@ format: ...@@ -43,7 +43,7 @@ format:
stage: build stage: build
script: script:
- 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 - ${GIT_CLONE_PATH}/../waves/scripts/format_code.py
- mkdir -p patches - 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 - 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: artifacts:
...@@ -61,7 +61,7 @@ build: ...@@ -61,7 +61,7 @@ build:
script: script:
- mkdir build - mkdir build
- cd build - cd build
- cmake -DCMAKE_PREFIX_PATH=${CI_PROJECT_DIR}/../waves -Wno-dev .. - cmake -DCMAKE_PREFIX_PATH=${GIT_CLONE_PATH}/../waves -Wno-dev ..
- make -j $(nproc) - make -j $(nproc)
artifacts: artifacts:
paths: 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