Skip to content

Commit

Permalink
workflows: install missing libraries before build (bug 1828122)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeid committed Aug 21, 2023
1 parent 2f262a7 commit c6aec98
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,26 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: setup
- name: setup Ubuntu 20.04
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt install libxcb-xinerama0 libegl-dev -y
- name: setup Ubuntu 22.04
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt install libxcb-xinerama0 libxcb-cursor0 libegl-dev qt6-qpa-plugins -y
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m venv env
source env/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements/requirements-3.9-Linux.txt
python -m pip install -r requirements/requirements-3.10-Linux.txt
python -m pip install -e .
- name: Build
run: |
Expand Down

0 comments on commit c6aec98

Please sign in to comment.