diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 2764efc8..09f048bc 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -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' @@ -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 diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 979ec61e..594ac9a4 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -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: |