Skip to content

Commit

Permalink
Add compilation without any warning to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloquinte committed Oct 16, 2023
1 parent b72e6f1 commit 0b951f6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/warnings.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0b951f6

Please sign in to comment.