File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 1
- name : " CI: cmake: msvc 2019 "
1
+ name : " CMake: MSVC "
2
2
3
- on : [push]
3
+ # Triggered manually
4
+ on : [workflow_dispatch]
4
5
5
6
jobs :
6
7
build :
7
8
8
- runs-on : windows-2019
9
+ runs-on : windows-latest
9
10
10
11
steps :
11
12
- uses : actions/checkout@v1
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments