Mentions légales du service

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

Run ci job pkg tests on complex in addition to double scalars.

parent ac32b2cd
Branches main
No related tags found
No related merge requests found
...@@ -600,6 +600,7 @@ test_macos_pkg_release: ...@@ -600,6 +600,7 @@ test_macos_pkg_release:
- matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust - matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust
- python$MACOS_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());" - python$MACOS_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python$MACOS_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')" - python$MACOS_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')"
- python$MACOS_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'complex')"
only: only:
- tags - tags
tags: tags:
...@@ -618,11 +619,13 @@ test_linux_pkg_release: ...@@ -618,11 +619,13 @@ test_linux_pkg_release:
- matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust - matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust
- python$NUX_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());" - python$NUX_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python$NUX_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')" - python$NUX_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')"
- python$NUX_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'complex')"
- sudo rpm -e faust - sudo rpm -e faust
- sudo rpm -i --nodeps build/faust-$CI_COMMIT_TAG-static-x86_64.rpm - sudo rpm -i --nodeps build/faust-$CI_COMMIT_TAG-static-x86_64.rpm
- matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust - matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust
- python$NUX_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());" - python$NUX_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python$NUX_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')" - python$NUX_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')"
- python$NUX_PY_VER -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'complex')"
- sudo rpm -e faust - sudo rpm -e faust
only: only:
- tags - tags
...@@ -648,6 +651,7 @@ test_linux_pkg_release: ...@@ -648,6 +651,7 @@ test_linux_pkg_release:
#- python -c "from os.path import exists;from time import sleep; sleep(15); exit(0);if(exists('F.mat')) else exit(1)" #- python -c "from os.path import exists;from time import sleep; sleep(15); exit(0);if(exists('F.mat')) else exit(1)"
- python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());" - python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')" - python -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'complex')"
- cd "C:\Program Files\Faust" - cd "C:\Program Files\Faust"
#- call 'uninstall.exe' /S #- call 'uninstall.exe' /S
- python -c "import os; os.system('uninstall.exe /S')" - python -c "import os; os.system('uninstall.exe /S')"
...@@ -672,6 +676,7 @@ test_linux_pkg_release: ...@@ -672,6 +676,7 @@ test_linux_pkg_release:
- $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', 'float32')" - $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'float32')"
- $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'complex')"
only: only:
- tags - tags
...@@ -735,6 +740,7 @@ test_win_purepy_pkg: ...@@ -735,6 +740,7 @@ test_win_purepy_pkg:
- python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());" - 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\", \"double\")"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"float32\")" - python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"float32\")"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests(\"cpu\", \"complex\")"
needs: needs:
- job: pkg_win_purepy_release - job: pkg_win_purepy_release
artifacts: true artifacts: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment