-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 943 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
42
43
44
45
46
47
48
name: Windows
on:
push:
branches:
- main
paths:
- "uvio/**"
pull_request:
branches:
- main
paths:
- "uvio/**"
jobs:
build_macos:
runs-on: windows-latest
strategy:
fail-fast: false
name: "MSVC (C++20, release)"
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: '3.12'
- name: Prepare msvc toolchain
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- name: Install Meson/Ninja
run: |
python3 -m pip install meson ninja
- name: Build
run: |
meson setup build -Dbuildtype=release
meson compile -C build
# ./build/tests/gtests/all_gtests
.\build\tests\gtests\all_gtests.exe
- name: Install
run: |
meson install -C build