From d561edf02e66c0c56c9064636d86f4ce87e0c6c5 Mon Sep 17 00:00:00 2001 From: Thomas Habets Date: Sun, 15 Oct 2023 11:15:38 +0100 Subject: [PATCH] Create c-cpp.yml for CI check --- .github/workflows/c-cpp.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..c728f16 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,27 @@ +name: C/C++ CI + +on: + push: + branches: [ "arping-2.x" ] + pull_request: + branches: [ "arping-2.x" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Dependencies + run: sudo apt-get install -y libnet1-dev libpcap-dev libcap-dev automake autoconf libseccomp-dev + - name: bootstrap + run: ./bootstrap.sh + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck