-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (44 loc) · 1.27 KB
/
windows.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Windows CI
on: [push, pull_request]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: ProjectSavanna/[email protected]
with:
smlnj-version: '110.99.4'
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: jurplel/install-qt-action@v3
with:
version: '6.6.1'
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2019_64'
- uses: MarkusJx/[email protected]
id: install-boost
with:
boost_version: 1.84.0
platform_version: 2019
toolset: msvc
- uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: '2019'
- name: install-meson
run: pip install meson ninja
- name: repoint
run: ./repoint install
- name: configure
run: meson setup build --buildtype release
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
- name: copy-qt-etc
run: |
foreach ($lib in 'Core','Gui','Widgets','Network','Xml','Svg','Test') { copy "..\Qt\6.6.1\msvc2019_64\bin\Qt6$lib.dll" build }
cp sv-dependency-builds\win64-msvc\lib\libsndfile-1.dll build
- name: build
run: ninja -C build
- name: test
run: meson test -C build