Skip to content

Commit

Permalink
disabled sanitize with gcc on travis again
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Jul 15, 2024
1 parent 23e8b68 commit 4154667
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 33 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/on-pr-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,23 @@ jobs:
verbose_test_output: ON
verbose_make_output: ON

sanitize-addr:
name: "Sanitize address"
sanitize:
name: "Sanitize"
strategy:
fail-fast: false
matrix:
compiler: [gcc, clang]
sanitize: [address, thread]
pooled_delivery: [ON, OFF]
uses: ./.github/workflows/build-test.yml
with:
sanitize: address
server_version: main
type: Debug
compiler: ${{ matrix.compiler }}
sanitize: ${{ matrix.sanitize }}
lib_msg_delivery: ${{ matrix.pooled_delivery }}

sanitize-addr-lib-msg-delivery:
name: "Sanitize address (lib_msg_delivery)"
uses: ./.github/workflows/build-test.yml
with:
type: Debug
sanitize: address
server_version: main
lib_msg_delivery: ON

san-addr:
san-addr-deadline:
name: "Sanitize address (lib_write_deadline)"
uses: ./.github/workflows/build-test.yml
with:
Expand All @@ -64,14 +63,6 @@ jobs:
server_version: main
lib_write_deadline: ON

san-thread:
name: "Sanitize thread"
uses: ./.github/workflows/build-test.yml
with:
type: Debug
sanitize: thread
server_version: main

Windows:
name: "Windows"
runs-on: windows-latest
Expand Down
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,18 @@ jobs:
- MATRIX_EVAL="CC=gcc-9"
- NATS_DEFAULT_LIB_WRITE_DEADLINE=2000 BUILD_OPT="-DNATS_BUILD_ARCH=64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-fsanitize=address" NATS_TEST_VALGRIND=yes DO_COVERAGE="no"

- name: "gcc-9 - Default - sanitize thread"
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: ppa:ubuntu-toolchain-r/test
packages:
- g++-9
env:
- MATRIX_EVAL="CC=gcc-9"
- BUILD_OPT="-DNATS_BUILD_ARCH=64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-fsanitize=thread" NATS_TEST_VALGRIND=yes DO_COVERAGE="no"
# - name: "gcc-9 - Default - sanitize thread"
# compiler: gcc
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - sourceline: ppa:ubuntu-toolchain-r/test
# packages:
# - g++-9
# env:
# - MATRIX_EVAL="CC=gcc-9"
# - BUILD_OPT="-DNATS_BUILD_ARCH=64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-fsanitize=thread" NATS_TEST_VALGRIND=yes DO_COVERAGE="no"

- name: "clang-8 - TLS OFF"
compiler: clang
Expand Down

0 comments on commit 4154667

Please sign in to comment.