|
|
|
@ -26,17 +26,17 @@ jobs:
|
|
|
|
qt-install-path: ${{ github.workspace }}/${{ matrix.qt-ver }}
|
|
|
|
qt-install-path: ${{ github.workspace }}/${{ matrix.qt-ver }}
|
|
|
|
plantform-des: ubuntu
|
|
|
|
plantform-des: ubuntu
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Cache Qt
|
|
|
|
|
|
|
|
id: cache-qt
|
|
|
|
|
|
|
|
uses: actions/cache@v1
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
|
|
|
|
|
|
|
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
|
|
|
|
|
|
|
- name: Install Qt
|
|
|
|
- name: Install Qt
|
|
|
|
uses: jurplel/install-qt-action@v2.13.0
|
|
|
|
uses: jurplel/install-qt-action@v2.13.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.qt-ver }}
|
|
|
|
version: ${{ matrix.qt-ver }}
|
|
|
|
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
|
|
|
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
|
|
|
|
|
|
|
- name: Cache Qt
|
|
|
|
|
|
|
|
id: cache-qt
|
|
|
|
|
|
|
|
uses: actions/cache@v3.0.6
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
|
|
|
|
|
|
|
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
|
|
|
- name: Install GL library
|
|
|
|
- name: Install GL library
|
|
|
|
run: sudo apt-get install -y libglew-dev libglfw3-dev
|
|
|
|
run: sudo apt-get install -y libglew-dev libglfw3-dev
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
@ -62,9 +62,11 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
zip -r QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip output/x64/RelWithDebInfo
|
|
|
|
zip -r QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip output/x64/RelWithDebInfo
|
|
|
|
- name: Upload to Releases
|
|
|
|
- name: Upload to Releases
|
|
|
|
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
|
|
uses: svenstaro/upload-release-action@2.3.0
|
|
|
|
uses: svenstaro/upload-release-action@2.3.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
file: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip
|
|
|
|
file: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip
|
|
|
|
asset_name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip
|
|
|
|
asset_name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip
|
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
tag: ${{ github.ref }}
|
|
|
|
overwrite: true
|
|
|
|
overwrite: true
|
|
|
|
|