From dc5a2e92af635ac8d802e1faf4be6f6863af130a Mon Sep 17 00:00:00 2001 From: Joachim Naulet Date: Thu, 11 May 2023 13:35:26 +0200 Subject: [PATCH] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 00000000..94501659 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,24 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - run: apt-get install splint + - run: apt-get install cppcheck + - run: apt-get install gcc + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck