Add adjacent_filter adaptor #293
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: sanitizers | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
sanitizer: [ubsan, asan] | |
include: | |
- cxx: g++-13 | |
install: | | |
brew install gcc@13 ninja binutils | |
brew link --force binutils | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Create Build Environment | |
run: | | |
${{matrix.install}} | |
cmake -E make_directory ${{runner.workspace}}/build | |
- name: Configure | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake -GNinja \ | |
-DFLUX_ENABLE_ASAN=${{matrix.sanitizer == 'asan'}} \ | |
-DFLUX_ENABLE_UBSAN=${{matrix.sanitizer == 'ubsan'}} \ | |
-DCMAKE_CXX_COMPILER=g++-13 \ | |
$GITHUB_WORKSPACE | |
- name: Build | |
working-directory: ${{runner.workspace}}/build | |
run: cmake --build . | |
- name: Test | |
working-directory: ${{runner.workspace}}/build | |
run: ctest -C ${{matrix.build_type}} | |
env: | |
CTEST_OUTPUT_ON_FAILURE: True |