Skip to content

Commit

Permalink
use define USE_QT6
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Jan 3, 2024
1 parent 33534ce commit ad8f318
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
version: ${{ matrix.qtver }}
dir: "${{ github.workspace }}/Qt/"
cache: true
cache-key-prefix: ${{ matrix.qtver }}-${{ matrix.os }}

- name: Install Linux dependencies
if: "contains( matrix.os, 'ubuntu')"
Expand All @@ -27,7 +28,15 @@ jobs:
- name: Use MSVC (Windows)
uses: ilammy/msvc-dev-cmd@v1

- name: Configure and build
- name: Configure 5.12
if: "contains( matrix.qtver, '5.12')"
run: |
cmake -S . -B build
cmake --build build
- name: Configure 6.5
if: "contains( matrix.qtver, '6.5')"
run: |
cmake -S . -DUSE_QT6=TRUE -B build
- name: Build
run: cmake --build build

0 comments on commit ad8f318

Please sign in to comment.