mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Update main.yml
This commit is contained in:
parent
04a24c34e8
commit
3787ae164c
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: CI
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -9,14 +9,15 @@ on:
|
|||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build_5.x:
|
||||||
|
name: Build with Qt 5.12
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: '5.15.2'
|
version: '5.12.11'
|
||||||
modules: 'qtwebengine qtwebsockets'
|
modules: 'qtwebengine qtwebsockets'
|
||||||
|
|
||||||
# Checkout repository and submodules
|
# Checkout repository and submodules
|
||||||
@ -28,3 +29,23 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
qmake CONFIG+=release
|
qmake CONFIG+=release
|
||||||
make
|
make
|
||||||
|
build_6.x:
|
||||||
|
name: Build with Qt 6.x
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install Qt
|
||||||
|
uses: jurplel/install-qt-action@v2
|
||||||
|
with:
|
||||||
|
version: '6.1'
|
||||||
|
modules: 'qtwebengine qtwebsockets'
|
||||||
|
|
||||||
|
# Checkout repository and submodules
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
qmake CONFIG+=release
|
||||||
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user