summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorboppybibbles <43829320+boppybibbles@users.noreply.github.com>2020-01-24 11:32:34 +0200
committerGitHub <noreply@github.com>2020-01-24 11:32:34 +0200
commitecd9745aa82edd6be3da6e8cc6578444e8a869d5 (patch)
tree8edb565239cac28d414e81568fdd960aab2fc08d /.github
parent43a7e4c303ace1aa2e0f150a6cc306c59bdf59bc (diff)
Feature/GitHub actions (#1)
Enable ubuntu, windows and macos based builds for CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ccpp.yml26
1 files changed, 16 insertions, 10 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 3feddfcf..06ea6f8b 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -1,21 +1,27 @@
-name: C/C++ CI
-
+name: QMake
on: [push, pull_request]
-
jobs:
build:
-
- runs-on: ubuntu-latest
-
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ include:
+ - os: ubuntu-latest
+ make: make
+ - os: macos-latest
+ make: make
+ - os: windows-latest
+ make: nmake
steps:
- uses: actions/checkout@v1
+ - uses: ilammy/msvc-dev-cmd@v1
- name: Install Qt
uses: jurplel/install-qt-action@v2
- - name: Install Linux packages
- run: sudo apt update && sudo apt install -y --no-install-recommends libgl1-mesa-dev
- name: qmake
run: qmake
- name: make
- run: make
+ run: ${{matrix.make}}
- name: make check
- run: make check TESTARGS="--platform offscreen"
+ run: ${{matrix.make}} check TESTARGS="--platform offscreen"