Mentions légales du service

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

Add a ci job to test the RPM FAµST package before uploading to gitlab-pages.

parent a6c55cc9
No related branches found
No related tags found
No related merge requests found
......@@ -321,6 +321,8 @@ pages:
artifacts: true
- job: pkg_linux_release
artifacts: true
- job: test_linux_pkg_release
- job: test_macos_pkg_release
artifacts:
paths:
- public/
......@@ -531,7 +533,7 @@ test_macos_pkg_release:
artifacts: true
script:
- sudo installer -pkg build/faust-$CI_COMMIT_TAG.pkg -target /
- matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;"
- matlab -nojvm -nodisplay -r "disp(matfaust.version());disp(full(matfaust.rand(5,5))); exit;" | tee /tmp/faust && grep $CI_COMMIT_TAG /tmp/faust
- python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')"
only:
......@@ -540,6 +542,23 @@ test_macos_pkg_release:
- macos
- macos_pkg_tester
test_linux_pkg_release:
stage: pkg_test
needs:
- job: pkg_linux_release
artifacts: true
script:
- sudo rpm -i --nodeps build/faust-$CI_COMMIT_TAG-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
- python -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- python -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'real')"
- sudo rpm -e faust
only:
- tags
tags:
- linux
- matlab
.test_unix_purepy_pkg:
stage: pkg_test
script:
......@@ -646,6 +665,8 @@ pypi_pub:
- job: test_macos_purepy_release
- job: test_macos_purepy_release_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
only:
- tags
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment