diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-cmake.yml | 45 |
1 files changed, 45 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 . |