macOS build fix #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macos | |
on: [push, pull_request] | |
jobs: | |
macos-build: | |
runs-on: ${{ matrix.macos-version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
macos-version: | |
- 'macos-latest' | |
steps: | |
- name: Sync repository | |
uses: actions/checkout@v2 | |
- name: Set up Homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
echo "eval $(/opt/homebrew/bin/brew shellenv)" >> $GITHUB_ENV | |
shell: bash | |
- name: Install dependencies | |
run: | | |
brew install libzmq mosquitto parquet | |
shell: bash | |
- name: Cache Qt | |
id: cache-qt | |
uses: actions/cache@v1 # not v2! | |
with: | |
path: '${{ github.workspace }}/qt_installation/' | |
key: ${{ runner.os }}-QtCache | |
- name: Install Qt | |
uses: jurplel/[email protected] | |
with: | |
version: '5.15.2' | |
host: 'mac' | |
dir: '${{ github.workspace }}/qt_installation/' | |
cached: ${{ steps.cache-qt.outputs.cache-hit }} | |
aqtversion: '==3.1.17' | |
py7zrversion: '==0.22.0' | |
- name: Build Plotjuggler | |
shell: pwsh | |
run: > | |
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler; | |
cmake --build build --target install |