From 0b951f66ca46081d81ba39f7fde818d9697422f8 Mon Sep 17 00:00:00 2001 From: Gabriel Gouvine Date: Mon, 16 Oct 2023 12:08:53 +0200 Subject: [PATCH] Add compilation without any warning to the CI --- .github/workflows/warnings.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/warnings.yml 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