Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
ci: install PySide2 bindings on build
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Oct 8, 2021
1 parent da27827 commit 1feb785
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade poetry wheel
poetry install
poetry install -E PySide2
poetry build
pip3 install dist/*.whl
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Run headless test
run: |
chmod +x scripts/display-ci.sh
/usr/bin/xvfb-run --auto-servernum ./scripts/display-ci.sh guiscrcpy
/usr/bin/xvfb-run --auto-servernum ./scripts/display-ci.sh "poetry run guiscrcpy"
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci/pyappimage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ RUN apt-get update && \
apt-get install -qq -y git libtool libcairo-dev libxcb-xinerama0 build-essential && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/*

RUN python3 -m pip install 'PySide2~=5.15'
RUN python3 -m pip install wheel
RUN python3 -m pip install 'PySide2>=5.13.2'

WORKDIR /usr/src
CMD python3 -m pyappimage.cli build

0 comments on commit 1feb785

Please sign in to comment.