Skip to content

chore(ci): treat warnings as errors #44

chore(ci): treat warnings as errors

chore(ci): treat warnings as errors #44

Workflow file for this run

name: 🐧 Linux
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
compiler: [g++, clang++]
runs-on: ubuntu-latest
name: 🐧 Linux (${{ matrix.compiler }})
steps:
- uses: actions/checkout@main
- name: Prepare Environment
run: |
sudo apt-get update
sudo apt-get install mesa-common-dev xorg-dev
- name: Configure
run: |
cd example
cmake -B build -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_CXX_FLAGS="-Werror"
- name: Build
run: |
cd example
cmake --build build