Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit 14f47d2

Browse files
committed
Disable leak sanitizer.
The sanitizer keeps crashing randomly even with one thread. Disabling it, so that our pipelines succeed at least occasionally.
1 parent dfcb435 commit 14f47d2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,10 @@ jobs:
167167
# but no, instead we have to do whatever the hell this is
168168
matrix:
169169
os: [skylake-2x, macos-latest]
170-
sanitizer: [address, thread, memory, leak]
170+
# The leak sanitizer keeps randomly crashing. Hope we can enable it in
171+
# the future when it's more stable.
172+
# sanitizer: [address, thread, memory, leak]
173+
sanitizer: [address, thread, memory]
171174
target: [x86_64-unknown-linux-gnu] # x86_64-apple-darwin
172175
exclude:
173176
# Exclude ubuntu runs with darwin targets
@@ -218,7 +221,7 @@ jobs:
218221
THREADS: "${{ matrix.sanitizer == 'leak' && '--test-threads=1' || '' }}"
219222
with:
220223
command: test
221-
args: --workspace ${{ env.ALMOST_ALL_FEATURES }} --target ${{ matrix.target }} -Z build-std -- --skip 'proptest' --skip 'persistent' --skip 'set_test_mt4' ${{ env.THREADS }}
224+
args: --workspace ${{ env.ALMOST_ALL_FEATURES }} --target ${{ matrix.target }} -Z build-std -- --skip 'proptest' --skip 'persistent' ${{ env.THREADS }}
222225
clippy:
223226
name: Clippy
224227
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)