mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-01-15 00:42:05 +08:00
Merge pull request #88 from itay-grudev/build-tests
Added CI Build Tests
This commit is contained in:
commit
33a2617a3f
45
.github/workflows/build-cmake.yml
vendored
Normal file
45
.github/workflows/build-cmake.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: "CI: Build Test"
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
qt_version: [5.9.8, 5.12.6, 5.13.2, 5.14.0]
|
||||
platform: [ubuntu-latest, windows-latest, macos-latest]
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v2.2.1
|
||||
with:
|
||||
version: ${{ matrix.qt_version }}
|
||||
|
||||
- name: cmake
|
||||
run: cmake .
|
||||
|
||||
- name: cmake build
|
||||
run: cmake --build .
|
||||
|
||||
- name: Build example - basic (cmake)
|
||||
working-directory: examples/basic/
|
||||
run: |
|
||||
cmake .
|
||||
cmake --build .
|
||||
|
||||
- name: Build example - calculator (cmake)
|
||||
working-directory: examples/calculator/
|
||||
run: |
|
||||
cmake .
|
||||
cmake --build .
|
||||
|
||||
- name: Build example - sending_arguments (cmake)
|
||||
working-directory: examples/sending_arguments/
|
||||
run: |
|
||||
cmake .
|
||||
cmake --build .
|
@ -7,6 +7,10 @@ __3.0.18__
|
||||
* Fallback to standard QApplication class on iOS and Android systems where
|
||||
the library is not supported.
|
||||
|
||||
* Added Build CI tests to verify the library builds successfully on Linux, Windows and MacOS across multiple Qt versions.
|
||||
|
||||
_Anton Filimonov_
|
||||
|
||||
__3.0.17__
|
||||
----------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user