mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-15 12:15:43 +08:00
Github Action building with multiple Qt versions
Implemented using the matrix strategy and multiple qt versions
This commit is contained in:
parent
4e4f310a58
commit
0296d0b61e
24
.github/workflows/build-linux-cmake.yml
vendored
24
.github/workflows/build-linux-cmake.yml
vendored
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user