Skip to content

Commit a7d09ad

Browse files
committed
GitHub Actions: Try clang-10 too
1 parent 70bf0b9 commit a7d09ad

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "CI: autotools: clang 10"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-20.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build
13+
run: |
14+
# Prevent blocking apt install on a question during configuring of tzdata.
15+
export ENV DEBIAN_FRONTEND=noninteractive
16+
sudo apt update
17+
sudo apt install mm-common clang-10 make --yes
18+
export CC=clang-10 CXX=clang++-10
19+
./autogen.sh --enable-warnings=fatal
20+
make
21+
- name: Test
22+
run: make check
23+
- name: Distcheck
24+
run: |
25+
# distcheck runs configure again so we need to specify CC and CXX again.
26+
export CC=clang-10 CXX=clang++-10
27+
make distcheck

0 commit comments

Comments
 (0)