diff --git a/.github/workflows/warnings.yml b/.github/workflows/warnings.yml new file mode 100644 index 0000000..1065a0d --- /dev/null +++ b/.github/workflows/warnings.yml @@ -0,0 +1,27 @@ +name: Build + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "*" ] + +env: + BUILD_TYPE: Release + + no-warnings: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Install dependencies + run: sudo apt-get install libboost-all-dev libeigen3-dev ninja-build; pip3 install cmake meson + + - name: Build + run: meson setup build --warninglevel=3 --werror; meson compile -C build + + - name: Test + run: meson test -C build