aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-linux-cmake.yml24
1 files changed, 8 insertions, 16 deletions
diff --git a/.github/workflows/build-linux-cmake.yml b/.github/workflows/build-linux-cmake.yml
index f7d5b7a..2268508 100644
--- a/.github/workflows/build-linux-cmake.yml
+++ b/.github/workflows/build-linux-cmake.yml
@@ -5,6 +5,10 @@ on: [push, pull_request]
jobs:
build:
+ strategy:
+ matrix:
+ qt_version: [5.11, 5.12, 5.13, 5.14]
+
runs-on: ubuntu-latest
steps:
@@ -13,7 +17,7 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v2.2.1
with:
- version: 5.12.6
+ version: ${{ matrix.qt_version }}
- name: cmake
run: cmake .
@@ -22,25 +26,13 @@ jobs:
run: make
- name: Build example - basic (cmake)
- run: cmake .
- working-directory: examples/basic/
-
- - name: Build example - basic (make)
- run: make
+ run: cmake . && make
working-directory: examples/basic/
- name: Build example - calculator (cmake)
- run: cmake .
- working-directory: examples/calculator/
-
- - name: Build example - calculator (make)
- run: make
+ run: cmake . && make
working-directory: examples/calculator/
- name: Build example - sending_arguments (cmake)
- run: cmake .
- working-directory: examples/sending_arguments/
-
- - name: Build example - sending_arguments (make)
- run: make
+ run: cmake . && make
working-directory: examples/sending_arguments/