Skip to content

Meson build: Better detection of MSVC-like compilers #30

Meson build: Better detection of MSVC-like compilers

Meson build: Better detection of MSVC-like compilers #30

Workflow file for this run

# 2024-07-19: ubuntu-latest = ubuntu-22.04
# See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
name: "Meson: clang"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: |
# Prevent blocking apt install on a question during configuring of tzdata.
export ENV DEBIAN_FRONTEND=noninteractive
sudo apt update
sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common clang ninja-build python3-setuptools python3-pip --yes
# Ubuntu 22.04 contains meson 0.61.2, but libsigc++ requires meson >= 0.62.0.
# Install it with pip instead of apt.
sudo pip install "meson>=0.62.0"
export CXX=clang++
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 CXX again.
export CXX=clang++
cd _build
meson dist
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