msg-filter: abstract out numbers from error[too-many] findings #167
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Ubuntu CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
ubuntu: | |
name: Ubuntu ${{ matrix.version }} (${{ matrix.compiler }}${{ matrix.version == 22.04 && ' with sanitizers' || '' }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [clang++, g++] | |
version: [20.04, 22.04] | |
runs-on: ubuntu-${{ matrix.version }} | |
env: | |
CXX: ${{ matrix.compiler }} | |
CXXFLAGS: -Werror | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: '[clang] Install a default version for Ubuntu ${{ matrix.version }}' | |
if: matrix.compiler == 'clang++' | |
run: | | |
sudo apt update | |
sudo apt install -y clang | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y help2man libboost-dev libboost-filesystem-dev \ | |
libboost-program-options-dev libboost-python-dev libboost-regex-dev | |
- name: Build and check | |
run: | | |
if [[ "${{ matrix.version }}" == 22.04 ]]; then | |
make distcheck-sanitizers | |
else | |
make distcheck | |
fi |