Github Actions: Building examples as well

This commit is contained in:
Itay Grudev 2020-01-03 10:26:13 +00:00 committed by GitHub
parent 275dcf3fc0
commit 4e4f310a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,17 +6,41 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2.2.1
with:
version: 5.12.6
- name: cmake
run: cmake .
- name: make
run: make
- name: Build example - basic (cmake)
run: cmake .
working-directory: examples/basic/
- name: Build example - basic (make)
run: make
working-directory: examples/basic/
- name: Build example - calculator (cmake)
run: cmake .
working-directory: examples/calculator/
- name: Build example - calculator (make)
run: make
working-directory: examples/calculator/
- name: Build example - sending_arguments (cmake)
run: cmake .
working-directory: examples/sending_arguments/
- name: Build example - sending_arguments (make)
run: make
working-directory: examples/sending_arguments/