diff --git a/.github/workflows/clang.yml b/.github/workflows/clang.yml new file mode 100644 index 0000000..17df8d0 --- /dev/null +++ b/.github/workflows/clang.yml @@ -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 diff --git a/.github/workflows/ccpp.yml b/.github/workflows/gcc.yml similarity index 96% rename from .github/workflows/ccpp.yml rename to .github/workflows/gcc.yml index eca5575..a3459ed 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/gcc.yml @@ -1,4 +1,4 @@ -name: C/C++ CI +name: GCC CI on: push: