forked from facontidavide/PlotJuggler
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 1015 Bytes
/
windows.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: windows
on: [push, pull_request]
jobs:
windows-build:
runs-on: ${{ matrix.windows-version }}
strategy:
fail-fast: false
matrix:
windows-version:
- 'windows-2019'
- 'windows-latest'
env:
CXXFLAGS: /MP
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'
arch: 'win64_msvc2019_64'
dir: '${{ github.workspace }}/qt_installation/'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Build Plotjuggler
shell: pwsh
run: >
cmake -Ax64 -T host=x64 -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install