Skip to content

Parser docs: Add a link to parser options #1

Parser docs: Add a link to parser options

Parser docs: Add a link to parser options #1

name: "meson: clang 10"
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Build
run: |
# Prevent blocking apt install on a question during configuring of tzdata.
export DEBIAN_FRONTEND=noninteractive
sudo apt update
sudo apt install libxml2-dev libxml2-utils docbook5-xml docbook-xsl libglibmm-2.4-dev mm-common clang-10 ninja-build python3-setuptools python3-pip --yes
# Ubuntu 20.04 contains meson 0.53.2, but libxml++ requires meson >= 0.55.0.
# Install it with pip3 instead of apt.
sudo pip3 install "meson>=0.55.0"
export CC=clang-10
export CXX=clang++-10
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
cd _build
meson compile
- name: Test
run: |
cd _build
meson test
- name: Dist
run: |
sudo apt install git --yes
# dist runs setup again so we need to specify CC and CXX again.
export CC=clang-10
export CXX=clang++-10
cd _build
meson dist