mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 01:17:04 +00:00
Add Clang CI
This commit is contained in:
parent
28622f065c
commit
49c96df121
2 changed files with 25 additions and 1 deletions
24
.github/workflows/clang.yml
vendored
Normal file
24
.github/workflows/clang.yml
vendored
Normal 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
|
|
@ -1,4 +1,4 @@
|
||||||
name: C/C++ CI
|
name: GCC CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
Loading…
Reference in a new issue