main
zhuzihcu 2023-03-08 15:22:43 +08:00
parent 46caf288d8
commit 97e0d614d0
1 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,7 @@
name: Ubuntu name: Ubuntu
# Qt官方没有linux平台的x86包
on: on:
workflow_dispatch:
push: push:
paths: paths:
- '*.pro' - '*.pro'
@ -20,11 +21,8 @@ jobs:
os: [ubuntu-18.04,ubuntu-20.04] os: [ubuntu-18.04,ubuntu-20.04]
qt_ver: [5.15.2] qt_ver: [5.15.2]
qt_arch: [gcc_64] qt_arch: [gcc_64]
exclude: env:
# Qt6.2.2 need GLIBC_2.28, ubuntu 18.04 have not. targetName: example
- os: ubuntu-18.04
qt_ver: 6.2.2
qt_arch: gcc_64
steps: steps:
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2 uses: jurplel/install-qt-action@v2
@ -32,7 +30,7 @@ jobs:
version: ${{ matrix.qt_ver }} version: ${{ matrix.qt_ver }}
cached: 'false' cached: 'false'
- name: ubuntu install GL library - name: ubuntu install GL library
run: sudo apt-get install -y libglew-dev libglfw3-dev run: sudo apt-get install -y libglew-dev libglfw3-dev qml-module-qtquick-controls qml-module-qtquick-controls2
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 1 fetch-depth: 1