-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get CI test builds working again! (#170)
* Revert "Revert PR #167: "ci: fix broken CI" (#169)" This reverts commit 2d74871. * Update Makefile * fix: Update vep.py import * Update Makefile * Update vep.py * fix: typo in makefile * fix: update BaseExperiment class reference * Update Makefile * Update vep.py * Update 01r__n170_viz.py * makefile: install libnotify4 --------- Co-authored-by: Ore O <[email protected]>
- Loading branch information
Showing
10 changed files
with
90 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
build: | ||
pip install . | ||
|
||
test: | ||
pytest | ||
|
||
typecheck: | ||
# Exclude visual_cueing due to errors | ||
python -m mypy --exclude 'examples/visual_cueing' | ||
|
||
docs: | ||
cd doc && make html | ||
|
||
clean: | ||
cd doc && make clean | ||
|
||
install-deps-apt: | ||
sudo apt-get update # update archive links | ||
|
||
# xvfb is a dependency to create a virtual display | ||
# libgtk-3-dev is a requirement for wxPython | ||
# freeglut3-dev is a requirement for a wxPython dependency | ||
# portaudio19-dev *might* be required to import psychopy on Ubuntu | ||
# pulseaudio *might* be required to actually run the tests (on PsychoPy import) | ||
# libpulse-dev required to build pocketsphinx (speech recognition dependency of psychopy) | ||
# libsdl2-dev required by psychopy | ||
# libnotify4 is so we can have the libnotify.so module used in wxPython working | ||
sudo apt-get -y install xvfb libgtk-3-dev freeglut3-dev portaudio19-dev libpulse-dev pulseaudio libsdl2-dev libnotify4 | ||
|
||
# configure dynamic links | ||
sudo ldconfig | ||
|
||
UPDATED_LIBPATH=$(sudo find / -name libnotify.so) | ||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UPDATED_LIBPATH | ||
|
||
install-deps-wxpython: | ||
# Install wxPython wheels since they are distribution-specific and therefore not on PyPI | ||
# See: https://wxpython.org/pages/downloads/index.html | ||
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.