Skip to content

Commit 9a5cf0e

Browse files
jeplerdpgeorge
authored andcommitted
github/workflows: Run the address sanitizer (ASan) build during CI.
Signed-off-by: Jeff Epler <jepler@gmail.com>
1 parent 4bd9926 commit 9a5cf0e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ports_unix.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,26 @@ jobs:
263263
if: failure()
264264
run: tests/run-tests.py --print-failures
265265

266+
sanitize_address:
267+
runs-on: ubuntu-latest
268+
steps:
269+
- uses: actions/checkout@v4
270+
- name: Install packages
271+
run: source tools/ci.sh && ci_unix_coverage_setup
272+
- name: Build
273+
run: source tools/ci.sh && ci_unix_sanitize_address_build
274+
- name: Run main test suite
275+
run: source tools/ci.sh && ci_unix_sanitize_address_run_tests
276+
- name: Test merging .mpy files
277+
run: source tools/ci.sh && ci_unix_coverage_run_mpy_merge_tests
278+
- name: Build native mpy modules
279+
run: source tools/ci.sh && ci_native_mpy_modules_build
280+
- name: Test importing .mpy generated by mpy_ld.py
281+
run: source tools/ci.sh && ci_unix_coverage_run_native_mpy_tests
282+
- name: Print failures
283+
if: failure()
284+
run: tests/run-tests.py --print-failures
285+
266286
sanitize_undefined:
267287
runs-on: ubuntu-latest
268288
steps:

0 commit comments

Comments
 (0)