Skip to content

Commit d17a581

Browse files
committed
CI: Add meson-msvc
and trigger cmake-msvc only manually. Fixes #98
1 parent 504c2ec commit d17a581

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-3
lines changed

.github/workflows/cmake-msvc.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
name: "CI: cmake: msvc 2019"
1+
name: "CMake: MSVC"
22

3-
on: [push]
3+
# Triggered manually
4+
on: [workflow_dispatch]
45

56
jobs:
67
build:
78

8-
runs-on: windows-2019
9+
runs-on: windows-latest
910

1011
steps:
1112
- uses: actions/checkout@v1

.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+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-python@v4
13+
with:
14+
python-version: '3.x'
15+
- run: pip install meson ninja
16+
17+
- name: Prepare MSVC
18+
uses: bus1/cabuild/action/msdevshell@v1
19+
with:
20+
architecture: x64
21+
22+
- name: Configure
23+
# Don't use warning_level or werror. They are applied also to subprojects.
24+
# 2023-07-28: Why is the documentation not built?
25+
# With the latest fixes in mm-common and libsigc++ it's possible
26+
# to build the reference documentation, but it's error-prone to build
27+
# the manual. AFAIK there are no easily installable docbook5-xml and
28+
# docbook-xsl packages for Windows.
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy