Skip to content

Commit dca80df

Browse files
committed
CI: Add meson-msvc.yml, only triggered manually
1 parent 9811d13 commit dca80df

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/meson-msvc.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "Meson: MSVC"
2+
3+
# Fails:
4+
# subprojects\libsigcplusplus-2.0\meson.build:116:5:
5+
# ERROR: Program 'm4' not found or not executable
6+
7+
# Triggered manually
8+
on: [workflow_dispatch]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: windows-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.x'
20+
- run: pip install meson ninja
21+
22+
- name: Prepare MSVC
23+
uses: bus1/cabuild/action/msdevshell@v1
24+
with:
25+
architecture: x64
26+
27+
- name: Configure
28+
# Don't use warning_level or werror. They are applied also to subprojects.
29+
run: meson setup -Dwarnings=fatal -Dmaintainer-mode=false -Dbuild-documentation=false _build
30+
31+
- name: Compile
32+
run: meson compile -C _build
33+
34+
- name: Test
35+
run: meson test -C _build

0 commit comments

Comments
 (0)