Mentions légales du service

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

Add switch to sudo in order to get pass from stdin.

We have no tty in test conditions.
parent 5e3b8ff2
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ package_macos:
script:
- if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
- 'cmake -DBUILD_WRAPPER_PYTHON=ON -DBUILD_WRAPPER_MATLAB=ON -DCMAKE_INSTALL_PREFIX=/opt/local/faust-$CI_COMMIT_SHA ..'
- 'echo $MACOS_PASS | sudo make install'
- 'echo $MACOS_PASS | sudo -S make install'
- 'hdiutil create -volname Faust-MatlabR2016a-Py2.7 -srcfolder /opt/local/faust-$CI_COMMIT_SHA -ov -format UDRW faust-$CI_COMMIT_SHA'
- if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo mv faust-$CI_COMMIT_SHA.dmg $MACOS_PKG_STORE_PATH; fi
- if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S mv faust-$CI_COMMIT_SHA.dmg $MACOS_PKG_STORE_PATH; fi
tags:
- macos
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment