Set UBSAN options using CMake #8
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: Fedora Rawhide CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
ubuntu: | |
name: Fedora Rawhide (${{ matrix.compiler }} with sanitizers) | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [clang++, g++] | |
runs-on: ubuntu-latest | |
container: | |
image: registry.fedoraproject.org/fedora:rawhide | |
options: --security-opt seccomp=unconfined | |
env: | |
CXX: ${{ matrix.compiler }} | |
CXXFLAGS: -Werror | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Update and install dependencies | |
run: | | |
dnf upgrade -y | |
dnf install -y boost-devel clang cmake diffutils gcc-c++ \ | |
help2man libasan libubsan make python3-devel | |
- name: Build and check | |
run: | | |
make distcheck-sanitizers |