diff options
author | Shatur95 <genaloner@gmail.com> | 2020-10-24 13:42:20 +0300 |
---|---|---|
committer | Shatur95 <genaloner@gmail.com> | 2020-10-24 14:20:37 +0300 |
commit | 6c97f3e80de9c78b322617b8558bc34e978e29b9 (patch) | |
tree | 1665054400b6643fd938a2b3502f1c9e2f849e77 /.github/workflows | |
parent | Merge pull request #118 from Shatur95/improve-qt6-support (diff) | |
download | singleapplication-6c97f3e80de9c78b322617b8558bc34e978e29b9.tar.xz |
Add Qt6 configuration
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-cmake.yml | 13 |
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 . |