blob: 864f8af8afa582a6893f0d2beb90eec15e76d8aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
name: "CI: meson: gcc 9"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- uses: actions/checkout@v1
- name: Build
run: |
# Prevent blocking apt install on a question during configuring of tzdata.
export ENV DEBIAN_FRONTEND=noninteractive
apt update
apt install mm-common g++-9 meson ninja-build python3-setuptools --yes
export CXX=g++-9
meson -Dwarnings=fatal _build
cd _build
# Meson from 0.54.0 understands "meson compile".
# Ubuntu 20.04 uses meson 0.53.2.
ninja
- name: Test
run: |
cd _build
meson test
- name: Dist
run: |
apt install git --yes
# dist runs setup again so we need to specify CXX again.
export CXX=g++-9
cd _build
meson dist
|