Add Clang CI

This commit is contained in:
William Robinet 2020-08-29 12:07:39 +02:00
parent 28622f065c
commit 49c96df121
2 changed files with 25 additions and 1 deletions

24
.github/workflows/clang.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Clang CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt install clang autoconf libpcap-dev libssl-dev
- name: autogen
run: ./autogen.sh
- name: configure
run: CC=/usr/bin/clang ./configure
- name: make
run: make

View file

@ -1,4 +1,4 @@
name: C/C++ CI name: GCC CI
on: on:
push: push: