forked from facontidavide/PlotJuggler
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (35 loc) · 1010 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
34
35
36
37
38
39
40
41
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