File tree Expand file tree Collapse file tree 5 files changed +70
-79
lines changed Expand file tree Collapse file tree 5 files changed +70
-79
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : " CI: meson: clang 10"
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ container : ubuntu:20.04
10
+
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - name : Build
14
+ run : |
15
+ # Prevent blocking apt install on a question during configuring of tzdata.
16
+ export ENV DEBIAN_FRONTEND=noninteractive
17
+ apt update
18
+ apt install mm-common clang-10 meson ninja-build python3-setuptools --yes
19
+ export CXX=clang++-10
20
+ meson -Dwarnings=fatal _build
21
+ cd _build
22
+ # Meson from 0.54.0 understands "meson compile".
23
+ # Ubuntu 20.04 uses meson 0.53.2.
24
+ ninja
25
+ - name : Test
26
+ run : |
27
+ cd _build
28
+ meson test
29
+ - name : Dist
30
+ run : |
31
+ apt install git --yes
32
+ # dist runs setup again so we need to specify CXX again.
33
+ export CXX=clang++-10
34
+ cd _build
35
+ meson dist
Original file line number Diff line number Diff line change
1
+ name : " CI: meson: gcc 9"
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ container : ubuntu:20.04
10
+
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - name : Build
14
+ run : |
15
+ # Prevent blocking apt install on a question during configuring of tzdata.
16
+ export ENV DEBIAN_FRONTEND=noninteractive
17
+ apt update
18
+ apt install mm-common g++-9 meson ninja-build python3-setuptools --yes
19
+ export CXX=g++-9
20
+ meson -Dwarnings=fatal _build
21
+ cd _build
22
+ # Meson from 0.54.0 understands "meson compile".
23
+ # Ubuntu 20.04 uses meson 0.53.2.
24
+ ninja
25
+ - name : Test
26
+ run : |
27
+ cd _build
28
+ meson test
29
+ - name : Dist
30
+ run : |
31
+ apt install git --yes
32
+ # dist runs setup again so we need to specify CXX again.
33
+ export CXX=g++-9
34
+ cd _build
35
+ meson dist
You can’t perform that action at this time.
0 commit comments