From 92ef569e3e5bcf5b2f240d87bd87622f58e4a449 Mon Sep 17 00:00:00 2001 From: alqeeu Date: Sat, 21 Oct 2023 13:36:19 +0300 Subject: [PATCH] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..1d5a5d4 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,22 @@ +name: C/C++ CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: setup needed tools + run: | + apt-get update + apt-get install -y make gcc clang + - name: make + run: make +