CI: Build reference documentation with meson-msvc #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Meson: MSVC" | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ssciwr/doxygen-install@v1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- run: pip install meson ninja | |
- name: Prepare MSVC | |
uses: bus1/cabuild/action/msdevshell@v1 | |
with: | |
architecture: x64 | |
- name: Configure | |
# Don't use warning_level or werror. They are applied also to subprojects. | |
# With the latest fixes in mm-common and libsigc++ it's possible | |
# to build the reference documentation, but it's error-prone to build | |
# the manual. AFAIK there are no easily installable docbook5-xml and | |
# docbook-xsl packages for Windows. | |
run: meson setup -Dwarnings=fatal -Dbuild-manual=false -Dmm-common:use-network=true _build | |
- name: Compile | |
run: meson compile -C _build | |
- name: Test | |
run: meson test -C _build |