mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-16 04:35:44 +08:00
40 lines
895 B
YAML
40 lines
895 B
YAML
name: CI: Build Test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
strategy:
|
|
matrix:
|
|
qt_version: [5.11.3, 5.12.6, 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)
|
|
run: cmake . && cmake --build .
|
|
working-directory: examples/basic/
|
|
|
|
- name: Build example - calculator (cmake)
|
|
run: cmake . && cmake --build .
|
|
working-directory: examples/calculator/
|
|
|
|
- name: Build example - sending_arguments (cmake)
|
|
run: cmake . && cmake --build .
|
|
working-directory: examples/sending_arguments/
|