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