Skip to content
Snippets Groups Projects
Commit d8879e2e authored by Boman Romain's avatar Boman Romain
Browse files

test python3 build

parent 4611d565
No related branches found
No related tags found
2 merge requests!49Add CI with python 3 including trilinos,!48Futurize for python2/3
Pipeline #511 passed
This commit is part of merge request !48. Comments created here will be created in the context of that merge request.
......@@ -5,25 +5,38 @@ default:
stages:
- build
- test
# - test
full_build:
stage: build
script:
- source /opt/intel/mkl/bin/mklvars.sh intel64
- source /opt/intel/tbb/bin/tbbvars.sh intel64
- printenv | sort
- rm -rf build workspace
- mkdir build
- cd build
- cmake -DUSE_PY3=OFF -Wno-dev ..
- make -j 4
artifacts:
paths:
- build/
expire_in: 1 hour
# full_build:
# stage: build
# script:
# - source /opt/intel/mkl/bin/mklvars.sh intel64
# - source /opt/intel/tbb/bin/tbbvars.sh intel64
# - printenv | sort
# - rm -rf build workspace
# - mkdir build
# - cd build
# - cmake -DUSE_PY3=OFF -Wno-dev ..
# - make -j 4
# artifacts:
# paths:
# - build/
# expire_in: 1 hour
# build_no_tlnos:
# stage: build
# script:
# - source /opt/intel/mkl/bin/mklvars.sh intel64
# - source /opt/intel/tbb/bin/tbbvars.sh intel64
# - printenv | sort
# - rm -rf build workspace
# - mkdir build
# - cd build
# - cmake -DUSE_PY3=OFF -Wno-dev -C ../CMake/disable-trilinos.cmake ..
# - make -j 4
build_no_tlnos:
build-py3:
image: rboman/waves-py3
stage: build
script:
- source /opt/intel/mkl/bin/mklvars.sh intel64
......@@ -32,26 +45,26 @@ build_no_tlnos:
- rm -rf build workspace
- mkdir build
- cd build
- cmake -DUSE_PY3=OFF -Wno-dev -C ../CMake/disable-trilinos.cmake ..
- cmake -Wno-dev -C ../CMake/disable-trilinos.cmake ..
- make -j 4
doxygen:
stage: test
script:
- cd build
- make dox
artifacts:
paths:
- build/doxygen/
expire_in: 1 day
# doxygen:
# stage: test
# script:
# - cd build
# - make dox
# artifacts:
# paths:
# - build/doxygen/
# expire_in: 1 day
ctest:
stage: test
script:
- source /opt/intel/mkl/bin/mklvars.sh intel64
- source /opt/intel/tbb/bin/tbbvars.sh intel64
- cd build
- ctest -j 4 #--verbose
# ctest:
# stage: test
# script:
# - source /opt/intel/mkl/bin/mklvars.sh intel64
# - source /opt/intel/tbb/bin/tbbvars.sh intel64
# - cd build
# - ctest -j 4 #--verbose
#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