Skip to content

Mac build & tests

Mac build & tests #166

Workflow file for this run

name: Mac build & tests
on: [push, pull_request, workflow_dispatch]
env:
BUILD_TYPE: Release # Change build type here.
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-10.15 ]
steps:
- uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 6.2.4 # Update Qt version here.
aqtversion: '>=0.9.7'
- name: Build
shell: bash
run: |
brew install boost
cd build
cmake ..
cmake --build . --config $BUILD_TYPE --target Degate
- name: Tests
shell: bash
run: |
cd build
cmake --build . --config $BUILD_TYPE --target DegateTests
cd tests/out/bin
./DegateTests