Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 740b3f69 authored by hhakim's avatar hhakim
Browse files

Replace python 3.8 by 3.10 in ci jobs (3.9 still supported).

parent 1a713d4e
Branches
Tags 3.14.0rc0
No related merge requests found
Pipeline #834021 skipped
...@@ -5,8 +5,8 @@ variables: ...@@ -5,8 +5,8 @@ variables:
DURL: "https://gitlab.inria.fr/faustgrp/gforge_files/-/raw/master/" DURL: "https://gitlab.inria.fr/faustgrp/gforge_files/-/raw/master/"
DFILE: "faust_data-3.5.2.zip" DFILE: "faust_data-3.5.2.zip"
JOB_PYTHON: "python3" # if set again in job, it hides this one (precedence: https://docs.gitlab.com/13.6/ee/ci/variables/#priority-of-environment-variables) JOB_PYTHON: "python3" # if set again in job, it hides this one (precedence: https://docs.gitlab.com/13.6/ee/ci/variables/#priority-of-environment-variables)
WIN_PY_VER: '3.9' # default python version used to build python wrapper on windows (for both whl package and nsis .exe) WIN_PY_VER: '3.10' # default python version used to build python wrapper on windows (for both whl package and nsis .exe)
NIX_PY_VER: '3.9' # default python version used to build python wrapper for "unix" system packages (pkg/macos, rpm/deb/linux) NIX_PY_VER: '3.10' # default python version used to build python wrapper for "unix" system packages (pkg/macos, rpm/deb/linux)
GEN_EGG: 'OFF' GEN_EGG: 'OFF'
USE_OPENBLASO: 'OFF' # by default any pip whl pkg doesn't use openblas-openmp (eigen blas backend) USE_OPENBLASO: 'OFF' # by default any pip whl pkg doesn't use openblas-openmp (eigen blas backend)
PYFAUST_PKG_NAME: 'pyfaust' # default package name, it can change for openblas-openmp whl package # only used in test_unix_purepy_pkg job PYFAUST_PKG_NAME: 'pyfaust' # default package name, it can change for openblas-openmp whl package # only used in test_unix_purepy_pkg job
...@@ -368,7 +368,7 @@ pkg_linux_release_static: ...@@ -368,7 +368,7 @@ pkg_linux_release_static:
- job: pkg_linux_purepy_release - job: pkg_linux_purepy_release
artifacts: true artifacts: true
pages: .pages:
stage: gitlab_pages stage: gitlab_pages
script: script:
- if [[ ! -d 'build' ]]; then mkdir build;fi; cd build - if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
...@@ -502,7 +502,7 @@ pkg_macos_purepy_release: ...@@ -502,7 +502,7 @@ pkg_macos_purepy_release:
pkg_macos_purepy_release_extra_pyver: pkg_macos_purepy_release_extra_pyver:
extends: pkg_macos_purepy_release extends: pkg_macos_purepy_release
variables: {MATIO_STATIC_LIB_PATH: "/usr/local/lib/libmatio.a", Z_STATIC_LIB_PATH: "/opt/local/lib/libz.a", HDF5_STATIC_LIB_PATH: "/opt/local/lib/libhdf5.a", BUILD_MULTITHREAD: "ON", FAUST_TORCH: "OFF", EXPERIMENTAL_PKG: "OFF", NOPY2: "ON", PYTHON_PATH: '/opt/local/bin/python3.8', JOB_PYTHON: 'python3.8', CMAKE_CXX_COMPILER: "/opt/local/bin/clang++-mp-8.0"} variables: {MATIO_STATIC_LIB_PATH: "/usr/local/lib/libmatio.a", Z_STATIC_LIB_PATH: "/opt/local/lib/libz.a", HDF5_STATIC_LIB_PATH: "/opt/local/lib/libhdf5.a", BUILD_MULTITHREAD: "ON", FAUST_TORCH: "OFF", EXPERIMENTAL_PKG: "OFF", NOPY2: "ON", PYTHON_PATH: '/opt/local/bin/python3.9', JOB_PYTHON: 'python3.9', CMAKE_CXX_COMPILER: "/opt/local/bin/clang++-mp-8.0"}
tags: tags:
- macos - macos
...@@ -524,7 +524,7 @@ pkg_linux_purepy_release: ...@@ -524,7 +524,7 @@ pkg_linux_purepy_release:
pkg_linux_purepy_release_extra_pyver: pkg_linux_purepy_release_extra_pyver:
extends: .pkg_purepy_release extends: .pkg_purepy_release
variables: {GIT_SUBMODULE_STRATEGY: recursive, MATIO_STATIC_LIB_PATH: "/opt/local/matio-1.5.7/src/.libs/libmatio.a", Z_STATIC_LIB_PATH: "/opt/local/zlib-1.2.11/libz.a", HDF5_STATIC_LIB_PATH: "/opt/local/hdf5-1.8.18/src/.libs/libhdf5.a", BUILD_MULTITHREAD: "ON", NOPY2: "ON", USE_GPU_MOD: "ON", CMAKE_PREFIX_PATH: "../gpu_mod", FAUST_TORCH: "OFF", EXPERIMENTAL_PKG: "OFF", PYTHON_PATH: '/usr/local/bin/python3.8', JOB_PYTHON: 'python3.8', CMAKE_CXX_COMPILER: "clang++"} variables: {GIT_SUBMODULE_STRATEGY: recursive, MATIO_STATIC_LIB_PATH: "/opt/local/matio-1.5.7/src/.libs/libmatio.a", Z_STATIC_LIB_PATH: "/opt/local/zlib-1.2.11/libz.a", HDF5_STATIC_LIB_PATH: "/opt/local/hdf5-1.8.18/src/.libs/libhdf5.a", BUILD_MULTITHREAD: "ON", NOPY2: "ON", USE_GPU_MOD: "ON", CMAKE_PREFIX_PATH: "../gpu_mod", FAUST_TORCH: "OFF", EXPERIMENTAL_PKG: "OFF", PYTHON_PATH: '/usr/local/bin/python3.9', JOB_PYTHON: 'python3.9', CMAKE_CXX_COMPILER: "clang++"}
tags: tags:
- linux - linux
- tux_packager - tux_packager
...@@ -638,7 +638,7 @@ pkg_win_purepy_release: ...@@ -638,7 +638,7 @@ pkg_win_purepy_release:
pkg_win_purepy_release_extra_pyver: pkg_win_purepy_release_extra_pyver:
extends: .pkg_win_purepy extends: .pkg_win_purepy
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.8'} variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.9'}
before_script: before_script:
- 'set VERSION=%CI_COMMIT_TAG%' - 'set VERSION=%CI_COMMIT_TAG%'
artifacts: artifacts:
...@@ -737,7 +737,7 @@ test_macos_purepy_release: ...@@ -737,7 +737,7 @@ test_macos_purepy_release:
- macos_pkg_tester - macos_pkg_tester
test_macos_purepy_release_extra_pyver: test_macos_purepy_release_extra_pyver:
variables: {JOB_PYTHON: 'python3.8'} # take care to keep this variable consistent with the version used in pkg_macos_purepy_release_extra_pyver variables: {JOB_PYTHON: 'python3.9'} # take care to keep this variable consistent with the version used in pkg_macos_purepy_release_extra_pyver
extends: .test_unix_purepy_pkg extends: .test_unix_purepy_pkg
needs: needs:
- job: pkg_macos_purepy_release_extra_pyver - job: pkg_macos_purepy_release_extra_pyver
...@@ -756,7 +756,7 @@ test_nux_purepy_release: ...@@ -756,7 +756,7 @@ test_nux_purepy_release:
- linux - linux
test_nux_purepy_release_extra_pyver: test_nux_purepy_release_extra_pyver:
variables: {JOB_PYTHON: 'python3.8'} variables: {JOB_PYTHON: 'python3.9'}
extends: .test_unix_purepy_pkg extends: .test_unix_purepy_pkg
needs: needs:
- job: pkg_linux_purepy_release_extra_pyver - job: pkg_linux_purepy_release_extra_pyver
...@@ -796,12 +796,12 @@ test_win_purepy_pkg: ...@@ -796,12 +796,12 @@ test_win_purepy_pkg:
test_win_purepy_pkg_extra_pyver: test_win_purepy_pkg_extra_pyver:
extends: test_win_purepy_pkg extends: test_win_purepy_pkg
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.8'} variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.9'}
needs: needs:
- job: pkg_win_purepy_release_extra_pyver - job: pkg_win_purepy_release_extra_pyver
artifacts: true artifacts: true
pypi_pub: .pypi_pub:
stage: pkg_pub stage: pkg_pub
script: script:
- python3 -m pip install --user twine - python3 -m pip install --user twine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment