Merge pull request #3857 from mfem/fix-connect-boundaries3d #1
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
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced | |
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files | |
# LICENSE and NOTICE for details. LLNL-CODE-806117. | |
# | |
# This file is part of the MFEM library. For more information and source code | |
# availability visit https://mfem.org. | |
# | |
# MFEM is free software; you can redistribute it and/or modify it under the | |
# terms of the BSD-3 license. We welcome feedback and contributions, see file | |
# CONTRIBUTING.md for details. | |
name: "Sanitizer" | |
permissions: | |
actions: write | |
on: | |
push: | |
branches: | |
- master | |
- next | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
Serial: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: MFEM Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: mfem | |
- name: MFEM Build | |
uses: mfem/github-actions/[email protected] | |
with: | |
os: ${{ runner.os }} | |
target: opt | |
mpi: seq | |
hypre-dir: unused-hypre-dir | |
metis-dir: unused-metis-dir | |
mfem-dir: mfem | |
build-system: make | |
library-only: false | |
config-options: | |
CXX="clang++-14" | |
CXXFLAGS="-g -O1 -std=c++11 | |
-fsanitize=address | |
-fno-omit-frame-pointer | |
-fsanitize-address-use-after-scope" | |
- name: MFEM Info | |
working-directory: mfem | |
run: make info | |
- name: MFEM Sanitize | |
working-directory: mfem | |
run: | |
ASAN_OPTIONS="detect_leaks=1, | |
strict_init_order=1, | |
strict_string_checks=1, | |
check_initialization_order=1, | |
detect_stack_use_after_return=1" | |
make test |