aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-cmake.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-cmake.yml')
-rw-r--r--.github/workflows/build-cmake.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/build-cmake.yml b/.github/workflows/build-cmake.yml
index 82a432c..f550758 100644
--- a/.github/workflows/build-cmake.yml
+++ b/.github/workflows/build-cmake.yml
@@ -7,8 +7,11 @@ jobs:
strategy:
matrix:
- qt_version: [5.12.6, 5.13.2, 5.14.0, 5.15.0]
+ qt_version: [5.12.6, 5.13.2, 5.14.0, 5.15.0, 6.0.0]
platform: [ubuntu-latest, windows-latest, macos-latest]
+ include:
+ - qt_version: 6.0.0
+ additional_arguments: -D QT_DEFAULT_MAJOR_VERSION=6
runs-on: ${{ matrix.platform }}
@@ -21,7 +24,7 @@ jobs:
version: ${{ matrix.qt_version }}
- name: cmake
- run: cmake .
+ run: cmake . ${{ matrix.additional_arguments }}
- name: cmake build
run: cmake --build .
@@ -29,17 +32,17 @@ jobs:
- name: Build example - basic (cmake)
working-directory: examples/basic/
run: |
- cmake .
+ cmake . ${{ matrix.additional_arguments }}
cmake --build .
- name: Build example - calculator (cmake)
working-directory: examples/calculator/
run: |
- cmake .
+ cmake . ${{ matrix.additional_arguments }}
cmake --build .
- name: Build example - sending_arguments (cmake)
working-directory: examples/sending_arguments/
run: |
- cmake .
+ cmake . ${{ matrix.additional_arguments }}
cmake --build .