Skip to content

Commit

Permalink
use include
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Jan 4, 2024
1 parent 15de2f3 commit 36bacbe
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
qtver: [5.12.12, 6.5.3]
include:
- qtver: 6.5.3
build_flags: -DUSE_QT6=TRUE
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,15 +31,7 @@ jobs:
- name: Use MSVC (Windows)
uses: ilammy/msvc-dev-cmd@v1

- name: Configure 5.12
if: contains( matrix.qtver, '5.12')
- name: Configure and build
run: |
cmake -S . -B 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
cmake -S . ${{matrix.build_flags}} -B build
cmake --build build

0 comments on commit 36bacbe

Please sign in to comment.