Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3cc14b1e authored by hhakim's avatar hhakim
Browse files

Re-enable ctest/python/matlab stage in ci pipeline and reduce gitlab...

Re-enable ctest/python/matlab stage in ci pipeline and reduce gitlab expiration time of pip whl release pkgs (because they are hosted on pypi.org anyway).
parent 95ac184a
Branches
Tags 3.9.0
No related merge requests found
Pipeline #834202 skipped
...@@ -19,7 +19,7 @@ stages: ...@@ -19,7 +19,7 @@ stages:
- pkg_pub - pkg_pub
- gitlab_pages - gitlab_pages
.ctest: ctest:
<<: *ctest_script <<: *ctest_script
variables: {SLOW_TESTS: "OFF", BUILD_MULTITHREAD: "ON"} # the CDashConfScript is able to retrieve OpenMP_gomp_LIBRARY and OpenMP_INC_DIR from environment (it's necessary on macOS, so the runner's env. must be configured) variables: {SLOW_TESTS: "OFF", BUILD_MULTITHREAD: "ON"} # the CDashConfScript is able to retrieve OpenMP_gomp_LIBRARY and OpenMP_INC_DIR from environment (it's necessary on macOS, so the runner's env. must be configured)
script: script:
...@@ -31,7 +31,7 @@ stages: ...@@ -31,7 +31,7 @@ stages:
tags: tags:
- linux - linux
.ctest_python: ctest_python:
<<: *ctest_script <<: *ctest_script
variables: {BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "OFF", DONT_PYPLOT_FAUST_TIME: "ON", NOCPPTESTS: "ON", NOPY2: "ON", BUILD_MULTITHREAD: "ON"} #, GIT_STRATEGY: none} variables: {BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "OFF", DONT_PYPLOT_FAUST_TIME: "ON", NOCPPTESTS: "ON", NOPY2: "ON", BUILD_MULTITHREAD: "ON"} #, GIT_STRATEGY: none}
except: except:
...@@ -42,7 +42,7 @@ stages: ...@@ -42,7 +42,7 @@ stages:
tags: tags:
- linux - linux
.ctest_matlab: ctest_matlab:
<<: *ctest_script <<: *ctest_script
variables: {BUILD_WRAPPER_MATLAB: "ON", SLOW_TESTS: "OFF", NOCPPTESTS: "ON", BUILD_MULTITHREAD: "OFF"} # MT OFF because of macOS complicated way to enable OpenMP (but packages are OMP enabled) variables: {BUILD_WRAPPER_MATLAB: "ON", SLOW_TESTS: "OFF", NOCPPTESTS: "ON", BUILD_MULTITHREAD: "OFF"} # MT OFF because of macOS complicated way to enable OpenMP (but packages are OMP enabled)
except: except:
...@@ -118,9 +118,9 @@ pkg_macos: ...@@ -118,9 +118,9 @@ pkg_macos:
except: except:
- schedules - schedules
- tags - tags
# needs: needs:
# - job: ctest_python - job: ctest_python
# - job: ctest_matlab - job: ctest_matlab
.win_build_gpu_mod: &win_build_gpu_mod .win_build_gpu_mod: &win_build_gpu_mod
before_script: before_script:
...@@ -174,8 +174,8 @@ pkg_win: ...@@ -174,8 +174,8 @@ pkg_win:
- schedules - schedules
- tags - tags
needs: needs:
# - job: ctest_python - job: ctest_python
# - job: ctest_matlab - job: ctest_matlab
.build_gpu_mod: &build_gpu_mod .build_gpu_mod: &build_gpu_mod
before_script: # TODO: loop on 9.2 and 11.4 (cuda versions) before_script: # TODO: loop on 9.2 and 11.4 (cuda versions)
...@@ -214,8 +214,8 @@ pkg_linux: ...@@ -214,8 +214,8 @@ pkg_linux:
- schedules - schedules
- tags - tags
needs: needs:
# - job: ctest_python - job: ctest_python
# - job: ctest_matlab - job: ctest_matlab
# jobs triggered by git tag can force cpack to use the tag name as version but it's not necessary for MacOSX (not using cpack for that sys.) # jobs triggered by git tag can force cpack to use the tag name as version but it's not necessary for MacOSX (not using cpack for that sys.)
#it's done for linux packages #it's done for linux packages
...@@ -420,7 +420,7 @@ pkg_macos_purepy_rev: ...@@ -420,7 +420,7 @@ pkg_macos_purepy_rev:
tags: tags:
- macos - macos
needs: needs:
# - job: ctest_python - job: ctest_python
pkg_linux_purepy_rev: pkg_linux_purepy_rev:
...@@ -430,7 +430,7 @@ pkg_linux_purepy_rev: ...@@ -430,7 +430,7 @@ pkg_linux_purepy_rev:
- linux - linux
- tux_packager - tux_packager
needs: needs:
# - job: ctest_python - job: ctest_python
.pkg_purepy_release: .pkg_purepy_release:
stage: pkg stage: pkg
...@@ -449,7 +449,7 @@ pkg_linux_purepy_rev: ...@@ -449,7 +449,7 @@ pkg_linux_purepy_rev:
- if [[ -n "$USE_GPU_MOD" ]]; then cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.4 -DCMAKE_CUDA_COMPILER=/usr/local/cuda-11.4/bin/nvcc ..;L=$HOME"/libgm-$GPU_MOD_SHA-cu11.4.so"; echo LIB=$L; if [[ -r "$L" ]]; then cp "$L" ./libgm.so; else make; cp ./libgm.so "$L";fi;fi - if [[ -n "$USE_GPU_MOD" ]]; then cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.4 -DCMAKE_CUDA_COMPILER=/usr/local/cuda-11.4/bin/nvcc ..;L=$HOME"/libgm-$GPU_MOD_SHA-cu11.4.so"; echo LIB=$L; if [[ -r "$L" ]]; then cp "$L" ./libgm.so; else make; cp ./libgm.so "$L";fi;fi
- if [[ -n "$USE_GPU_MOD" ]]; then cd ../..; fi - if [[ -n "$USE_GPU_MOD" ]]; then cd ../..; fi
artifacts: artifacts:
expire_in: '50 yrs' expire_in: '1 week'
except: except:
- schedules - schedules
only: only:
...@@ -588,7 +588,7 @@ pkg_win_purepy_release: ...@@ -588,7 +588,7 @@ pkg_win_purepy_release:
before_script: before_script:
- 'set VERSION=%CI_COMMIT_TAG%' - 'set VERSION=%CI_COMMIT_TAG%'
artifacts: artifacts:
expire_in: '50 yrs' expire_in: '1 week'
only: only:
- tags - tags
...@@ -598,7 +598,7 @@ pkg_win_purepy_release_extra_pyver: ...@@ -598,7 +598,7 @@ pkg_win_purepy_release_extra_pyver:
before_script: before_script:
- 'set VERSION=%CI_COMMIT_TAG%' - 'set VERSION=%CI_COMMIT_TAG%'
artifacts: artifacts:
expire_in: '50 yrs' expire_in: '1 week'
only: only:
- tags - tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment