forked from facontidavide/PlotJuggler
-
Notifications
You must be signed in to change notification settings - Fork 36
38 lines (31 loc) · 925 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
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: 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 }}
- name: Build Plotjuggler
shell: pwsh
run: >
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install