Skip to content

Commit 319fe90

Browse files
committed
GitHub Actions CI: Add a clang++ 10 build
Like the clang-10 CI, this uses a newer Ubuntu version (20.04) by specifying a different docker image. Because of that, we no longer need to use sudo with apt.
1 parent 4e75b93 commit 319fe90

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "CI: autotools: 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 the install on a question during configuring of tzdata.
16+
export ENV DEBIAN_FRONTEND=noninteractive
17+
apt update
18+
apt install build-essential mm-common clang-10 --yes
19+
export CXX=clang++-10
20+
./autogen.sh --enable-warnings=fatal
21+
make
22+
- name: Test
23+
run: make check
24+
- name: Distcheck
25+
run: |
26+
# distcheck runs configure again so we need to specify CXX again.
27+
export CXX=clang++-10
28+
make distcheck

0 commit comments

Comments
 (0)