Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8a1042f8 authored by hhakim's avatar hhakim
Browse files

Re-enable windows release ci jobs.

parent 6d5153a0
Branches
Tags
No related merge requests found
......@@ -282,7 +282,7 @@ pkg_macos_release:
- job: pkg_macos_purepy_release
artifacts: true
.pkg_win_release:
pkg_win_release:
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive}
stage: pkg
<<: *win_build_gpu_mod
......@@ -616,7 +616,7 @@ pkg_win_purepy_rev:
needs:
- job: ctest_python
.pkg_win_purepy_release:
pkg_win_purepy_release:
extends: .pkg_win_purepy
variables: {BUILD_CONFIG: "Release", GIT_SUBMODULE_STRATEGY: recursive, EXPERIMENTAL_PKG: "OFF", WIN_PY_VER: '3.9'}
before_script:
......@@ -626,7 +626,7 @@ pkg_win_purepy_rev:
only:
- tags
.pkg_win_purepy_release_extra_pyver:
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.10'}
before_script:
......@@ -677,7 +677,7 @@ test_linux_pkg_release:
- matlab
# the windows NSIS installer test is disabled because "call .exe" is hanging down indefinitely
.test_win_pkg_release:
test_win_pkg_release:
stage: pkg_test
needs:
- job: pkg_win_release
......@@ -763,33 +763,33 @@ test_nux_openblaso_purepy_release:
tags:
- linux
#.test_win_purepy_pkg:
# variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.9'}
# stage: pkg_test
# script:
# - 'cd build\wrapper\python\dist'
# - 'dir /B pyfaust*.whl > pkg_name.txt'
# - 'set /p PKG_NAME=<pkg_name.txt'
# - '%JOB_PYTHON% -%WIN_PY_VER% -m venv test_pyfaust-%CI_COMMIT_TAG%'
# - 'call test_pyfaust-%CI_COMMIT_TAG%\Scripts\activate'
# - python -m pip install %PKG_NAME%
# - python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
# - python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"double\")"
# - python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"float32\")"
# needs:
# - job: pkg_win_purepy_release
# artifacts: true
# only:
# - tags
# tags:
# - win10
#
#.test_win_purepy_pkg_extra_pyver:
# extends: test_win_purepy_pkg
# variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.10'}
# needs:
# - job: pkg_win_purepy_release_extra_pyver
# artifacts: true
test_win_purepy_pkg:
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.9'}
stage: pkg_test
script:
- 'cd build\wrapper\python\dist'
- 'dir /B pyfaust*.whl > pkg_name.txt'
- 'set /p PKG_NAME=<pkg_name.txt'
- '%JOB_PYTHON% -%WIN_PY_VER% -m venv test_pyfaust-%CI_COMMIT_TAG%'
- 'call test_pyfaust-%CI_COMMIT_TAG%\Scripts\activate'
- python -m pip install %PKG_NAME%
- python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"double\")"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"float32\")"
needs:
- job: pkg_win_purepy_release
artifacts: true
only:
- tags
tags:
- win10
test_win_purepy_pkg_extra_pyver:
extends: test_win_purepy_pkg
variables: {JOB_PYTHON: 'py', WIN_PY_VER: '3.10'}
needs:
- job: pkg_win_purepy_release_extra_pyver
artifacts: true
pypi_pub:
stage: pkg_pub
......@@ -814,18 +814,18 @@ pypi_pub:
artifacts: true
- job: pkg_linux_purepy_release_openblaso
artifacts: true
# - job: pkg_win_purepy_release
# artifacts: true
# - job: pkg_win_purepy_release_extra_pyver
# artifacts: true
- job: pkg_win_purepy_release
artifacts: true
- job: pkg_win_purepy_release_extra_pyver
artifacts: true
- job: pkg_macos_purepy_release_extra_pyver
artifacts: true
- job: test_nux_purepy_release
- job: test_nux_purepy_release_extra_pyver
# - job: test_win_purepy_pkg
- job: test_win_purepy_pkg
- job: test_macos_purepy_release
- job: test_macos_purepy_release_extra_pyver
#- job: test_win_purepy_pkg_extra_pyver
- job: test_win_purepy_pkg_extra_pyver
- job: test_linux_pkg_release # all the packages for this version must be OK to have a go on pypi upload
- job: test_macos_pkg_release
- job: test_nux_openblaso_purepy_release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment