Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7c7d58be authored by hhakim's avatar hhakim
Browse files

Add a pip wheel install test for the windows version.

parent 12c6930a
No related branches found
No related tags found
No related merge requests found
...@@ -499,15 +499,15 @@ test_macos_pkg_release: ...@@ -499,15 +499,15 @@ test_macos_pkg_release:
.test_unix_purepy_pkg: .test_unix_purepy_pkg:
stage: pkg_test stage: pkg_test
script: script:
- find ./ - $JOB_PYTHON -m venv test_pyfaust-$CI_COMMIT_TAG
- python3 -m venv test_pyfaust-$CI_COMMIT_TAG
- source test_pyfaust-$CI_COMMIT_TAG/bin/activate - source test_pyfaust-$CI_COMMIT_TAG/bin/activate
- pip install build/wrapper/python/dist/pyfaust-$CI_COMMIT_TAG-*.whl - pip install build/wrapper/python/dist/pyfaust-$CI_COMMIT_TAG-*.whl
- python3 -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());" - $JOB_PYTHON -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
only: only:
- tags - tags
test_macos_purepy_release: test_macos_purepy_release:
variables: {JOB_PYTHON: 'python3'}
extends: .test_unix_purepy_pkg extends: .test_unix_purepy_pkg
needs: needs:
- job: pkg_macos_purepy_release - job: pkg_macos_purepy_release
...@@ -517,9 +517,26 @@ test_macos_purepy_release: ...@@ -517,9 +517,26 @@ test_macos_purepy_release:
- macos_pkg_tester - macos_pkg_tester
test_nux_purepy_release: test_nux_purepy_release:
variables: {JOB_PYTHON: 'python3'}
extends: .test_unix_purepy_pkg extends: .test_unix_purepy_pkg
needs: needs:
- job: pkg_linux_purepy_release - job: pkg_linux_purepy_release
artifacts: true artifacts: true
tags: tags:
- linux - linux
test_win_purepy_pkg:
variables: {JOB_PYTHON: 'python'}
stage: pkg_test
script:
- '%JOB_PYTHON% -m venv test_pyfaust-%CI_COMMIT_TAG%'
- 'call test_pyfaust-%CI_COMMIT_TAG%\Scripts\activate'
- pip install build/wrapper/python/dist/pyfaust-%CI_COMMIT_TAG%-*.whl
- '%JOB_PYTHON% -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"'
needs:
- job: pkg_win_purepy_release
artifacts: true
only:
- tags
tags:
- win10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment