Skip to content

Commit

Permalink
(debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygoldfeld committed Dec 15, 2023
1 parent 7500480 commit ce2e73a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,12 @@ jobs:
export ASAN_OPTIONS="disable_coredump=0"
export UBSAN_OPTIONS="disable_coredump=0 print_stacktrace=1 suppressions=${{ github.workspace }}/ubsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg"
export TSAN_OPTIONS="disable_coredump=0 second_deadlock_stack=1 suppressions=${{ github.workspace }}/tsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg"
# XXX
echo "$UBSAN_OPTIONS"
cat ${{ github.workspace }}/ubsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg
echo "$TSAN_OPTIONS"
cat ${{ github.workspace }}/tsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg
echo "--"
steps:
- name: Update available software list for apt-get
Expand Down Expand Up @@ -474,6 +480,13 @@ jobs:
- name: Install Flow-IPC dependencies with Conan using the profile
run: |
${{ env.before_each_test }}
# XXX
echo "$UBSAN_OPTIONS"
cat ${{ github.workspace }}/ubsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg
echo "$TSAN_OPTIONS"
cat ${{ github.workspace }}/tsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg
echo "--"
conan editable add flow flow/1.0
conan install \
. \
Expand All @@ -488,7 +501,6 @@ jobs:
# TODO: Ideally let our CMake interrogate jemalloc-config to find jemalloc-prefix itself.
# Less stuff for us to worry about that way here. If it has not been tried, try it.
# If it does not work, apply a small effort to see if it can be easily made to work.
# XXX LTO disabled to maybe simplify ASAN situation/get rid of crazy linker errors
- name: Prepare Makefile using CMake
run: |
cmake \
Expand Down Expand Up @@ -549,6 +561,12 @@ jobs:
!cancelled()
run: |
${{ env.before_each_test }}
# XXX
echo "$UBSAN_OPTIONS"
cat ${{ github.workspace }}/ubsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg
echo "$TSAN_OPTIONS"
cat ${{ github.workspace }}/tsan_suppressions_${{ matrix.compiler.name }}_${{ matrix.compiler.version }}.cfg
echo "--"
cd $GITHUB_WORKSPACE/install/${{ matrix.build-type.conan-build-type }}/bin
mkdir -p logs/ipc_core_link_test
./ipc_core_link_test.exec > logs/ipc_core_link_test/console.log 2>&1
Expand Down

0 comments on commit ce2e73a

Please sign in to comment.