SingleApplication/.github/workflows/build-linux-cmake.yml

40 lines
838 B
YAML
Raw Normal View History

2020-01-03 18:11:40 +08:00
name: C/C++ CI
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 }}
2020-01-03 18:11:40 +08:00
steps:
- uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2.2.1
with:
version: ${{ matrix.qt_version }}
2020-01-03 18:11:40 +08:00
- name: cmake
run: cmake .
2020-01-03 18:11:40 +08:00
- name: make
run: make
- name: Build example - basic (cmake)
run: cmake . && make
working-directory: examples/basic/
- name: Build example - calculator (cmake)
run: cmake . && make
working-directory: examples/calculator/
- name: Build example - sending_arguments (cmake)
run: cmake . && make
working-directory: examples/sending_arguments/