1
0
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:
Hennadii Chernyshchyk 2021-10-03 11:36:47 +03:00
parent 00a571c21c
commit e145737801
No known key found for this signature in database
GPG Key ID: 24623302B8395825

View File

@ -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