File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' v*'
7+ workflow_dispatch : # Allows you to run this manually for testing
78
89jobs :
910 test :
@@ -19,20 +20,21 @@ jobs:
1920 cache : " pip"
2021
2122 - name : Install System Dependencies
22- # Ubuntu runners need these for OpenCV and imageio[ffmpeg] to work
23+ # Fixes the 'libgl1-mesa-glx' error by using modern packages
2324 run : |
2425 sudo apt-get update
25- sudo apt-get install -y ffmpeg libgl1-mesa-glx
26+ sudo apt-get install -y ffmpeg libgl1 libglx-mesa0 libglib2.0-0
2627
27- - name : Install PyTorch (CPU version )
28- # We use the CPU version for testing to make the runner faster/lighter
28+ - name : Install PyTorch (CPU)
29+ # Must be installed separately before Detectron2
2930 run : |
3031 pip install torch==2.2.0 torchvision==0.17.0 --index-url https://download.pytorch.org/whl/cpu
32+ pip install ninja wheel setuptools
3133
3234 - name : Install Detectron2
33- # Linux can build this from Git easily once Torch is present
35+ # --no- build-isolation is the key to preventing the 'Getting Requirements' error
3436 run : |
35- pip install --no-build-isolation ' git+https://github.com/facebookresearch/detectron2.git'
37+ pip install --no-build-isolation git+https://github.com/facebookresearch/detectron2.git
3638
3739 - name : Install Pupil_LIMlab
3840 run : |
4951 name : pypi
5052 url : https://pypi.org/p/Pupil_LIMlab
5153 permissions :
52- id-token : write # Required for Trusted Publishing
54+ id-token : write
5355 contents : read
5456
5557 steps :
You can’t perform that action at this time.
0 commit comments