mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-04-01 01:52:39 +08:00
Add QMake to CI
This commit is contained in:
parent
00a571c21c
commit
e145737801
29
.github/workflows/build-cmake.yml
vendored
29
.github/workflows/build-cmake.yml
vendored
@ -36,25 +36,46 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt_version }}
|
version: ${{ matrix.qt_version }}
|
||||||
|
|
||||||
- name: Build library
|
- name: Build library with CMake
|
||||||
run: |
|
run: |
|
||||||
cmake . ${{ matrix.additional_arguments }}
|
cmake . ${{ matrix.additional_arguments }}
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: Build example - basic (cmake)
|
- name: Build basic example with CMake
|
||||||
working-directory: examples/basic/
|
working-directory: examples/basic/
|
||||||
run: |
|
run: |
|
||||||
cmake . ${{ matrix.additional_arguments }}
|
cmake . ${{ matrix.additional_arguments }}
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: Build example - calculator (cmake)
|
- name: Build calculator example CMake
|
||||||
working-directory: examples/calculator/
|
working-directory: examples/calculator/
|
||||||
run: |
|
run: |
|
||||||
cmake . ${{ matrix.additional_arguments }}
|
cmake . ${{ matrix.additional_arguments }}
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: Build example - sending_arguments (cmake)
|
- name: Build sending_arguments example with CMake
|
||||||
working-directory: examples/sending_arguments/
|
working-directory: examples/sending_arguments/
|
||||||
run: |
|
run: |
|
||||||
cmake . ${{ matrix.additional_arguments }}
|
cmake . ${{ matrix.additional_arguments }}
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
|
- name: Setup MSVC environment for QMake
|
||||||
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
|
||||||
|
- name: Build basic example with QMake
|
||||||
|
working-directory: examples/basic/
|
||||||
|
run: |
|
||||||
|
qmake
|
||||||
|
make
|
||||||
|
|
||||||
|
- name: Build calculator example QMake
|
||||||
|
working-directory: examples/calculator/
|
||||||
|
run: |
|
||||||
|
qmake
|
||||||
|
make
|
||||||
|
|
||||||
|
- name: Build sending_arguments example with QMake
|
||||||
|
working-directory: examples/sending_arguments/
|
||||||
|
run: |
|
||||||
|
qmake
|
||||||
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user