Skip to content
Snippets Groups Projects

Version 0.1.0 (setup)

Merged Adrien Crovato requested to merge adri into master
Compare and Show latest version
1 file
+ 11
3
Compare changes
  • Side-by-side
  • Inline
+ 11
3
@@ -10,6 +10,9 @@ default:
tags:
- mn2l
variables:
GIT_CLONE_PATH: /builds/$CI_PROJECT_PATH/PF/fpm
stages:
- .pre
- build
@@ -27,6 +30,9 @@ 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 ..
@@ -37,9 +43,7 @@ format:
stage: build
script:
- clang-format --version # we use clang-format-10 exclusively
- ls ${CI_PROJECT_DIR}/..
- ls ${CI_PROJECT_DIR}/../waves
- .${CI_PROJECT_DIR}/../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:
@@ -47,6 +51,8 @@ format:
- patches/
expire_in: 1 day
when: on_failure
dependencies:
- waves
allow_failure: true
build:
@@ -61,6 +67,8 @@ build:
paths:
- build/
expire_in: 1 hour
dependencies:
- waves
doxygen:
<<: *global_tag_def
Loading