Mentions légales du service

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

Specify the package name to install with the os name in .test_unix_purepy_pkg ci job.

parent d0312f80
Branches
Tags
No related merge requests found
...@@ -695,7 +695,8 @@ test_linux_pkg_release: ...@@ -695,7 +695,8 @@ test_linux_pkg_release:
- $JOB_PYTHON -m venv test_pyfaust-$CI_COMMIT_TAG - $JOB_PYTHON -m venv test_pyfaust-$CI_COMMIT_TAG
- source test_pyfaust-$CI_COMMIT_TAG/bin/activate - source test_pyfaust-$CI_COMMIT_TAG/bin/activate
- PYVER=$($JOB_PYTHON --version | awk '{print $2}' | sed -e 's/\.//g;s/\(..\).*/\1/') - PYVER=$($JOB_PYTHON --version | awk '{print $2}' | sed -e 's/\.//g;s/\(..\).*/\1/')
- $JOB_PYTHON -m pip install --upgrade build/wrapper/python/dist/pyfaust-$CI_COMMIT_TAG-*$PYVER*.whl - SYS=$(if uname -a | grep -q Darwin; then echo macosx; else echo linux; fi)
- $JOB_PYTHON -m pip install --upgrade build/wrapper/python/dist/pyfaust-$CI_COMMIT_TAG-*$PYVER*$SYS*.whl
- $JOB_PYTHON -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());"
- $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'double')" - $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'double')"
- $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'float')" - $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'float')"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment