Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 59b8d6cf authored by hhakim's avatar hhakim
Browse files

Fix inconsistency of python versions between windows .exe and wheel pkgs release ci jobs.

parent 3093741f
Branches
Tags
No related merge requests found
......@@ -233,7 +233,7 @@ doctest_matfaust:
.download_job_artifacts:
before_script:
- if [[ -z "$ARTIFACT_JOB_NAME" ]]; then echo "variable ARTIFACT_JOB_NAME must be set"; exit 1; fi
- 'JOB_ID=$(curl -s --header "PRIVATE-TOKEN: $GITLAB_API_READ_TOKEN" "https://gitlab.inria.fr/api/v4/projects/6960/jobs?scope=success&per_page=10000" 2>&1 | tee -a /tmp/log_curl_doctest_matfaust | sed -e "s/}/}\n/g" | grep "\"${ARTIFACT_JOB_NAME}\"" | head -1 | sed -ne "s/.*{\"id\":\([[:digit:]]\+\).*${ARTIFACT_JOB_NAME}.*/\1/p") || echo JOB_ID=$JOB_ID'
- 'JOB_ID=$(curl -s --header "PRIVATE-TOKEN: $GITLAB_API_READ_TOKEN" "https://gitlab.inria.fr/api/v4/projects/6960/jobs?scope=success&per_page=10000" 2>&1 | tee /tmp/log_curl_job_id | sed -e "s/}/}\n/g" | grep "\"${ARTIFACT_JOB_NAME}\"" | head -1 | sed -ne "s/.*{\"id\":\([[:digit:]]\+\).*${ARTIFACT_JOB_NAME}.*/\1/p") || echo JOB_ID=$JOB_ID'
# download artifact archive
- 'curl --header "PRIVATE-TOKEN: $GITLAB_API_READ_TOKEN" https://gitlab.inria.fr/api/v4/projects/6960/jobs/$JOB_ID/artifacts > artifacts.zip'
# what's in this archive? test it.
......@@ -747,7 +747,9 @@ pkg_win_purepy_rev:
pkg_win_purepy_release:
extends: .pkg_win_purepy
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.11'}
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.12'}
# take care that WIN_PY_VER is consistent with pkg_win_release WIN_PY_VER which comes from global variables
# because pkg_win_release depends on this job artifacts
before_script:
- 'set VERSION=%CI_COMMIT_TAG%'
artifacts:
......@@ -757,7 +759,7 @@ pkg_win_purepy_release:
pkg_win_purepy_release_extra_pyver:
extends: .pkg_win_purepy
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.12'}
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.11'}
before_script:
- 'set VERSION=%CI_COMMIT_TAG%'
artifacts:
......@@ -930,7 +932,7 @@ test_nux_openblaso_purepy_release:
- linux
test_win_purepy_pkg:
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.11'}
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.12'}
stage: pkg_test
script:
# TODO: externalize in a script
......@@ -959,7 +961,7 @@ test_win_purepy_pkg:
test_win_purepy_pkg_extra_pyver:
extends: test_win_purepy_pkg
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.12'}
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.11'}
needs:
- job: pkg_win_purepy_release_extra_pyver
artifacts: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment