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/