From ae40be67d0a367faf1025421cccc5e04c61dd852 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 14:30:40 -0500 Subject: [PATCH] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..937cb7e --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,23 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: configure + run: mkdir build; cd build; cmake .. + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck