Skip to content

ci: Fixes macOS CI builds #64

ci: Fixes macOS CI builds

ci: Fixes macOS CI builds #64

Workflow file for this run

name: macos
on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
jobs:
macos-build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-latest
steps:
- name: Sync repository
uses: actions/checkout@v2
- name: Prepare Homebrew and Install Dependencies
run: |
rm -rf /usr/local/var/homebrew/locks
brew cleanup -s
brew update
brew install mosquitto zeromq qt@5
- name: Build PlotJuggler
run: |
export CMAKE_PREFIX_PATH=$(brew --prefix qt@5):$(brew --prefix zeromq)
export LDFLAGS="-L/usr/local/opt/zeromq/lib"
export CPPFLAGS="-I/usr/local/opt/zeromq/include"
export LIBRARY_PATH=/usr/local/opt/zeromq/lib
export CPATH=/usr/local/opt/zeromq/include
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler
cmake --build build --target install