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

Update ci

parent 37124527
No related branches found
No related tags found
1 merge request!1Version 0.1.0 (setup)
Pipeline #2024 passed with warnings
...@@ -19,7 +19,6 @@ waves: ...@@ -19,7 +19,6 @@ waves:
<<: *global_tag_def <<: *global_tag_def
stage: .pre stage: .pre
script: script:
- pwd
- printenv | sort - printenv | sort
- cd .. - cd ..
- rm -rf waves - rm -rf waves
...@@ -38,8 +37,9 @@ format: ...@@ -38,8 +37,9 @@ 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
- pwd - ls ${CI_PROJECT_DIR}/..
- ./${CI_PROJECT_DIR}/../waves/scripts/format_code.py - ls ${CI_PROJECT_DIR}/../waves
- .${CI_PROJECT_DIR}/../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:
...@@ -53,7 +53,6 @@ build: ...@@ -53,7 +53,6 @@ build:
<<: *global_tag_def <<: *global_tag_def
stage: build stage: build
script: script:
- pwd
- 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 ..
......
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