5.2.1 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Autotools: clang" | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: | | |
sudo apt update | |
sudo apt install libxml2-dev mm-common clang docbook-xsl | |
export CXX=clang++ | |
./autogen.sh --enable-warnings=fatal | |
make | |
- name: Test | |
run: make check | |
- name: Distcheck | |
run: | | |
# distcheck runs configure again so we need to specify CXX again. | |
export CXX=clang++ | |
make distcheck |