File tree Expand file tree Collapse file tree 4 files changed +23
-30
lines changed Expand file tree Collapse file tree 4 files changed +23
-30
lines changed Original file line number Diff line number Diff line change 1
- name : " CI: autotools: gcc 9 "
1
+ name : " Autotools: clang "
2
2
3
3
on : [push]
4
4
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
12
- - uses : docker://ubuntu:19.10
13
12
- name : Build
14
13
run : |
15
14
sudo apt update
16
- sudo apt install libxml2-dev libglibmm-2.4-dev mm-common g++-9 docbook-xsl
17
- export CXX=g++-9
15
+ sudo apt install libxml2-dev libglibmm-2.4-dev mm-common clang docbook-xsl
16
+ export CXX=clang++
18
17
./autogen.sh --enable-warnings=fatal
19
18
make
20
19
- name : Test
21
20
run : make check
22
21
- name : Distcheck
23
22
run : |
24
23
# distcheck runs configure again so we need to specify CXX again.
25
- export CXX=g++-9
24
+ export CXX=clang++
26
25
make distcheck
Original file line number Diff line number Diff line change 1
- name : " CI: autotools: clang 9 "
1
+ name : " Autotools: gcc "
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
12
12
- name : Build
13
13
run : |
14
14
sudo apt update
15
- sudo apt install libxml2-dev libglibmm-2.4-dev mm-common clang-9 docbook-xsl
16
- export CXX=clang++-9
15
+ sudo apt install libxml2-dev libglibmm-2.4-dev mm-common g++ docbook-xsl
16
+ export CXX=g++
17
17
./autogen.sh --enable-warnings=fatal
18
18
make
19
19
- name : Test
20
20
run : make check
21
21
- name : Distcheck
22
22
run : |
23
23
# distcheck runs configure again so we need to specify CXX again.
24
- export CXX=clang++-9
24
+ export CXX=g++
25
25
make distcheck
Original file line number Diff line number Diff line change 1
- name : " meson: gcc 10 "
1
+ name : " Meson: clang "
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
14
14
# Prevent blocking apt install on a question during configuring of tzdata.
15
15
export DEBIAN_FRONTEND=noninteractive
16
16
sudo apt update
17
- sudo apt install libxml2-dev libxml2-utils docbook5-xml docbook-xsl libglibmm-2.4-dev mm-common g++-10 ninja-build python3-setuptools python3-pip --yes
18
- # Ubuntu 20.04 contains meson 0.53.2, but libxml++ requires meson >= 0.55.0.
19
- # Install it with pip3 instead of apt.
20
- sudo pip3 install "meson>=0.55.0"
21
- export CC=gcc-10
22
- export CXX=g++-10
17
+ sudo apt install libxml2-dev libxml2-utils docbook5-xml docbook-xsl libglibmm-2.4-dev mm-common clang meson ninja-build python3-setuptools --yes
18
+ export CC=clang
19
+ export CXX=clang++
23
20
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
24
21
cd _build
25
22
meson compile
31
28
run : |
32
29
sudo apt install git --yes
33
30
# dist runs setup again so we need to specify CC and CXX again.
34
- export CC=gcc-10
35
- export CXX=g++-10
31
+ export CC=clang
32
+ export CXX=clang++
36
33
cd _build
37
34
meson dist
Original file line number Diff line number Diff line change 1
- name : " meson: clang 10 "
1
+ name : " Meson: gcc "
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
14
14
# Prevent blocking apt install on a question during configuring of tzdata.
15
15
export DEBIAN_FRONTEND=noninteractive
16
16
sudo apt update
17
- 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
18
- # Ubuntu 20.04 contains meson 0.53.2, but libxml++ requires meson >= 0.55.0.
19
- # Install it with pip3 instead of apt.
20
- sudo pip3 install "meson>=0.55.0"
21
- export CC=clang-10
22
- export CXX=clang++-10
17
+ sudo apt install libxml2-dev libxml2-utils docbook5-xml docbook-xsl libglibmm-2.4-dev mm-common g++ meson ninja-build python3-setuptools --yes
18
+ export CC=gcc
19
+ export CXX=g++
23
20
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
24
21
cd _build
25
22
meson compile
31
28
run : |
32
29
sudo apt install git --yes
33
30
# dist runs setup again so we need to specify CC and CXX again.
34
- export CC=clang-10
35
- export CXX=clang++-10
31
+ export CC=gcc
32
+ export CXX=g++
36
33
cd _build
37
34
meson dist
You can’t perform that action at this time.
0 commit comments