Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-sukhoruchkin authored May 15, 2024
1 parent 96c8166 commit 9febd4d
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,36 +79,36 @@ jobs:
# OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad_linux_amd64
# OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad
ASSET_MIME: application/octet-stream
- os: macos-latest
PRE_BUILD_CMD: >
brew install portaudio &&
wget https://github.com/sccn/liblsl/releases/download/v1.16.0/liblsl-1.16.0-OSX_amd64.tar.bz2 &&
mkdir /Users/runner/liblsl &&
tar -xf liblsl-1.16.0-OSX_amd64.tar.bz2 -C /Users/runner/liblsl &&
pip install wheel &&
python setup.py bdist_wheel &&
pip install -r requirements_macos.txt &&
pip uninstall -y -r requirements_uninstall_macos.txt &&
pip install pytest pytest-cov &&
pytest --cov=timeflux_neurofeedback_inverse_gamepad
# BUILD_CMD: pyinstaller timeflux_neurofeedback_inverse_gamepad.spec
# - os: macos-latest
# PRE_BUILD_CMD: >
# brew install portaudio &&
# wget https://github.com/sccn/liblsl/releases/download/v1.16.0/liblsl-1.16.0-OSX_amd64.tar.bz2 &&
# mkdir /Users/runner/liblsl &&
# tar -xf liblsl-1.16.0-OSX_amd64.tar.bz2 -C /Users/runner/liblsl &&
# pip install wheel &&
# python setup.py bdist_wheel &&
# pip install -r requirements_macos.txt &&
# pip uninstall -y -r requirements_uninstall_macos.txt &&
# pip install pytest pytest-cov &&
# pytest --cov=timeflux_neurofeedback_inverse_gamepad
## BUILD_CMD: pyinstaller timeflux_neurofeedback_inverse_gamepad.spec
## POST_BUILD_CMD: >
## cd dist/ &&
## ls -Rls &&
## zip -r9 timeflux_neurofeedback_inverse_gamepad timeflux_neurofeedback_inverse_gamepad
## OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad.zip
## ASSET_MIME: application/zip
# BUILD_CMD: pyinstaller timeflux_neurofeedback_inverse_gamepad_pyinstaller.spec
## BUILD_CMD: pyinstaller timeflux_neurofeedback_inverse_gamepad_onefile.spec
# POST_BUILD_CMD: >
# cd dist/ &&
# cd dist &&
# ls -Rls &&
# zip -r9 timeflux_neurofeedback_inverse_gamepad timeflux_neurofeedback_inverse_gamepad
# OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad.zip
# ASSET_MIME: application/zip
BUILD_CMD: pyinstaller timeflux_neurofeedback_inverse_gamepad_pyinstaller.spec
# BUILD_CMD: pyinstaller timeflux_neurofeedback_inverse_gamepad_onefile.spec
POST_BUILD_CMD: >
cd dist &&
ls -Rls &&
zip -r9 timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64 timeflux_neurofeedback_inverse_gamepad_pyinstaller
# cp timeflux_neurofeedback_inverse_gamepad_pyinstaller timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64
OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64.zip
# OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64
# OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad
ASSET_MIME: application/octet-stream
# zip -r9 timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64 timeflux_neurofeedback_inverse_gamepad_pyinstaller
## cp timeflux_neurofeedback_inverse_gamepad_pyinstaller timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64
# OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64.zip
## OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad_pyinstaller_macos_amd64
## OUT_FILE_NAME: timeflux_neurofeedback_inverse_gamepad
# ASSET_MIME: application/octet-stream
- os: windows-latest
PRE_BUILD_CMD: >
pip install wheel &&
Expand Down

0 comments on commit 9febd4d

Please sign in to comment.