Mentions légales du service

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

Minor fixes in two ci jobs.

Upgrade pip to find pyfaust for python3.10 in doctest_nightly_pyfaust.
Remove ~/matlab to avoid interferences with installed package in test_linux_pkg_release.
parent 1b8728a4
No related branches found
No related tags found
No related merge requests found
......@@ -143,6 +143,7 @@ doctest_nightly_pyfaust:
- cmake -DBUILD_WRAPPER_PYTHON=ON -DREMOTE_DATA_URL="$DURL" -DREMOTE_DATA_FILE="$DFILE" ..
- if [[ ! -d "doctest_pyfaust_latest" ]]; then $JOB_PYTHON -m venv doctest_pyfaust-latest;fi
- source doctest_pyfaust-latest/bin/activate
- python -m pip install --upgrade pip
- python -m pip install pyfaust
- if [ -r "/tmp/faust_data.zip" ]; then sudo rm /tmp/faust_data.zip; fi # avoid permission error if pre-exists
- PF_DIR=`dirname $(python -c "import pyfaust as pf; print(pf.__file__)")`
......@@ -754,6 +755,7 @@ test_linux_pkg_release:
- job: pkg_linux_release_static
artifacts: true
script:
- if [[ -d "$HOME/matlab" ]];then rm -Rf $HOME/matlab;fi
- 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$NUX_PY_VER -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment