Skip to content

Commit c77c888

Browse files
committed
CI: Test clang-9 in Ubuntu 20.04
1 parent 2207b49 commit c77c888

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/autotools-clang-9.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,23 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9-
container: ubuntu:19.10
9+
container: ubuntu:20.04
1010

1111
steps:
1212
- uses: actions/checkout@v1
1313
- name: Build
1414
run: |
15+
# Prevent blocking apt install on a question during configuring of tzdata.
16+
export ENV DEBIAN_FRONTEND=noninteractive
1517
apt update
16-
apt install mm-common clang-9 --yes
17-
export CXX=clang++-9
18+
apt install mm-common clang-9 make --yes
19+
export CC=clang-9 CXX=clang++-9
1820
./autogen.sh --enable-warnings=fatal
1921
make
2022
- name: Test
2123
run: make check
2224
- name: Distcheck
2325
run: |
24-
# distcheck runs configure again so we need to specify CXX again.
25-
export CXX=clang++-9
26+
# distcheck runs configure again so we need to specify CC and CXX again.
27+
export CC=clang-9 CXX=clang++-9
2628
make distcheck

0 commit comments

Comments
 (0)