From f8c514483a04869196e2026b44a43f272fc18502 Mon Sep 17 00:00:00 2001 From: Ryan Hsiang <113010586+durant42040@users.noreply.github.com> Date: Mon, 26 Aug 2024 08:39:28 -0500 Subject: [PATCH] Create c-cpp.yml --- .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..0df64b4 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: build + run: cd server && mkdir build && cd build && cmake .. + - name: make + run: make