aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItay Grudev <itay+89bf5c@grudev.com>2020-01-03 18:21:43 +0000
committerGitHub <noreply@github.com>2020-01-03 18:21:43 +0000
commit33a2617a3f96a1aadf22c6c39640f6c3696f1a6b (patch)
tree4afd62dbf38fa5d6df8e62f7959baac676fb5783
parentMerge pull request #76 from itay-grudev/android_fallback (diff)
parentUpdate CHANGELOG.md (diff)
downloadsingleapplication-33a2617a3f96a1aadf22c6c39640f6c3696f1a6b.tar.xz
Merge pull request #88 from itay-grudev/build-tests
Added CI Build Tests
-rw-r--r--.github/workflows/build-cmake.yml45
-rw-r--r--CHANGELOG.md4
2 files changed, 49 insertions, 0 deletions
diff --git a/.github/workflows/build-cmake.yml b/.github/workflows/build-cmake.yml
new file mode 100644
index 0000000..d1a6419
--- /dev/null
+++ b/.github/workflows/build-cmake.yml
@@ -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 .
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9efd3fd..45c197e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,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__
----------