-
-
Notifications
You must be signed in to change notification settings - Fork 646
33 lines (27 loc) · 874 Bytes
/
macos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: macos
on: [push, pull_request]
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: |
brew cleanup -s
brew update
brew install mosquitto zeromq qt@5 protobuf@21
- 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