-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (46 loc) · 1.06 KB
/
windows.yml
File metadata and controls
49 lines (46 loc) · 1.06 KB
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
---
name: windows
"on":
push:
branches: [main]
pull_request:
env:
CXXFLAGS: /WX /W3 /wd4244
jobs:
cmake:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-2022
- windows-2025
BUILD_SHARED_LIBS:
- "TRUE"
- "FALSE"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B build -DBUILD_SHARED_LIBS=${{ matrix.BUILD_SHARED_LIBS }}
- name: Build tests
run: cmake --build build
- name: Run tests
run: ctest --output-on-failure --test-dir build
meson:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-2022
- windows-2025
steps:
- name: Install Meson
run: pip install meson ninja
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure Meson
run: meson setup build -Dvsenv=true
- name: Run tests
run: meson test -C build