Update main.yml

This commit is contained in:
Kevin Yue 2021-08-19 18:24:30 +08:00 committed by GitHub
parent 04a24c34e8
commit 3787ae164c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: CI
name: Build
on:
push:
@ -9,14 +9,15 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
build_5.x:
name: Build with Qt 5.12
runs-on: ubuntu-latest
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
version: '5.12.11'
modules: 'qtwebengine qtwebsockets'
# Checkout repository and submodules
@ -28,3 +29,23 @@ jobs:
run: |
qmake CONFIG+=release
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