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

Commit

Permalink
ci: fix: install the generated wheel instead
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Aug 29, 2021
1 parent 43027d8 commit 0755912
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,15 @@ jobs:
strategy:
matrix:
type: ['r', 'm']
container: ['ubuntu:18.04', 'ubuntu:16.04'] # r: full or m: minimal
exclude:
- type: 'r'
container: 'ubuntu:16.04'
- type: 'm'
container: 'ubuntu:18.04'
container:
image: ${{ matrix.container }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install dependencies
- name: Build
run: |
sed -i 's,qtpy,PySide2,g' **/*.py
docker build -t guiscrcpy-pyappimage-build -f scripts/ci/pyappimage/Dockerfile
docker run -v $(pwd):/usr/src guiscrcpy-pyappimage-build
python3 -m pyappimage.cli build
ls -al
- name: Create Standalone scrcpy
if: matrix.type == 'm'
Expand Down Expand Up @@ -259,11 +250,6 @@ jobs:
with:
name: guiscrcpy-m-continuous-x86_64.AppImage

- name: Detect Release type
if: github.ref == 'refs/heads/master' && startsWith(github.ref, 'refs/tags/v') != true
run: |
echo "::set-env release_tag=continuous"
- name: PreRelease
uses: marvinpinto/action-automatic-releases@latest
if: github.ref == 'refs/heads/master' && startsWith(github.ref, 'refs/tags/') != true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade poetry
python -m pip install --upgrade poetry wheel
poetry install
poetry build
pip3 install dist/*.whl
- name: Lint with flake8
run: |
Expand Down

0 comments on commit 0755912

Please sign in to comment.