mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-19 19:15:07 +00:00
* feat: cmake win * fix: win bug * feat: mac * feat: mac * feat: linux * feat: remove old cmake * fix: build bug * feat: ci mac build * feat: language * feat: build win * fix: win buid error * fix: mac build error * fix: mac publish error * feat: test * feat: remove ubuntu 16 * feat: cmake build on ubuntu * fix: ubuntu build error * feat: test * fix: build error on ubuntu * fix: build error * fix: build error * fix * fix * fix: 1 * fix: 2 * fix: 3 * f * a * b * 1 Co-authored-by: 冉坤 <rankun@bytedance.com>
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: Ubuntu
|
|
# Qt官方没有linux平台的x86包
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'QtScrcpy/**'
|
|
- '!QtScrcpy/res/**'
|
|
- '.github/workflows/ubuntu.yml'
|
|
- 'ci/linux/**'
|
|
pull_request:
|
|
paths:
|
|
- 'QtScrcpy/**'
|
|
- '!QtScrcpy/res/**'
|
|
- '.github/workflows/ubuntu.yml'
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-18.04]
|
|
qt-ver: [5.15.1]
|
|
qt-arch-install: [gcc_64]
|
|
gcc-arch: [x64]
|
|
env:
|
|
target-name: QtScrcpy
|
|
qt-install-path: ${{ github.workspace }}/${{ matrix.qt-ver }}
|
|
plantform-des: ubuntu
|
|
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
|
|
uses: jurplel/install-qt-action@v2.13.0
|
|
with:
|
|
version: ${{ matrix.qt-ver }}
|
|
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
|
- name: Ubuntu install GL library
|
|
run: sudo apt-get install -y libglew-dev libglfw3-dev
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Build Ubuntu
|
|
env:
|
|
ENV_QT_PATH: ${{ env.qt-install-path }}
|
|
run: |
|
|
python ci/generate-version.py
|
|
ci/linux/build_for_ubuntu.sh RelWithDebInfo
|