From 5b52f6c8bcaf5bd63d114f70caa0c4ccf36bdbd3 Mon Sep 17 00:00:00 2001 From: Pedro Falcato Date: Sun, 19 Nov 2023 23:41:35 +0000 Subject: [PATCH] Add CI --- .github/workflows/c-cpp.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..0471726 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,21 @@ +name: C/C++ CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Install meson + run: sudo apt install meson + - name: Run meson + run: meson build/ + - name: Build the project + run: ninja -C build/