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 6c1a825
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/warnings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: No warnings

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

env:
BUILD_TYPE: Release

jobs:
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 --warnlevel=3 --werror; meson compile -C build

- name: Test
run: meson test -C build

0 comments on commit 6c1a825

Please sign in to comment.