From 7db567e08659b1353d8f27b985eae87c29d8fcff Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Tue, 19 Dec 2023 16:19:02 +0000 Subject: [PATCH] Create c-cpp.yml Not sure that this will work as shaders need to compile etc Signed-off-by: Benjamin Kyd --- .github/workflows/c-cpp.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..27b76e6 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: + push: + branches: [ "master", "dev" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: configure + run: mkdir build && cd build && cmake .. + - name: make + run: cd build && make +