Skip to content

Commit 8ed9330

Browse files
committed
ci: Enable address sanitizer again
1 parent 947d4a6 commit 8ed9330

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
name: Flatpak CI
22

3-
on:
4-
push:
5-
branches:
6-
- main
7-
- 'flatpak-1.[0-9]+.x'
8-
pull_request:
9-
branches:
10-
- main
11-
- 'flatpak-1.[0-9]+.x'
12-
merge_group:
13-
types:
14-
- checks_requested
3+
on: push
154

165
permissions:
176
contents: read
@@ -51,7 +40,7 @@ jobs:
5140
# clash with AddressSanitizer. Instead, the clang build enables those.
5241
run: |
5342
meson setup \
54-
-Db_sanitize=address,undefined \
43+
-Db_sanitize=address \
5544
-Dgir=disabled \
5645
-Dgtkdoc=disabled \
5746
-Dhttp_backend=curl \
@@ -63,12 +52,9 @@ jobs:
6352
CFLAGS: -O2 -Wp,-D_FORTIFY_SOURCE=2
6453
- name: Build flatpak
6554
run: meson compile -C _build
66-
env:
67-
ASAN_OPTIONS: detect_leaks=0 # Right now we're not fully clean, but this gets us use-after-free etc
6855
- name: Run tests
6956
run: meson test -C _build
7057
env:
71-
ASAN_OPTIONS: detect_leaks=0 # Right now we're not fully clean, but this gets us use-after-free etc
7258
LC_ALL: en_US.UTF-8
7359
- name: Collect logs on failure
7460
if: failure() || cancelled()

0 commit comments

Comments
 (0)