From 3787ae164c52ebfcabd1722a0a7a7902bf529d40 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Thu, 19 Aug 2021 18:24:30 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b465245..e490c1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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