github/workflows: Run the address sanitizer (ASan) build during CI.
Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
committed by
Damien George
parent
4bd99260dc
commit
9a5cf0e3db
20
.github/workflows/ports_unix.yml
vendored
20
.github/workflows/ports_unix.yml
vendored
@@ -263,6 +263,26 @@ jobs:
|
|||||||
if: failure()
|
if: failure()
|
||||||
run: tests/run-tests.py --print-failures
|
run: tests/run-tests.py --print-failures
|
||||||
|
|
||||||
|
sanitize_address:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install packages
|
||||||
|
run: source tools/ci.sh && ci_unix_coverage_setup
|
||||||
|
- name: Build
|
||||||
|
run: source tools/ci.sh && ci_unix_sanitize_address_build
|
||||||
|
- name: Run main test suite
|
||||||
|
run: source tools/ci.sh && ci_unix_sanitize_address_run_tests
|
||||||
|
- name: Test merging .mpy files
|
||||||
|
run: source tools/ci.sh && ci_unix_coverage_run_mpy_merge_tests
|
||||||
|
- name: Build native mpy modules
|
||||||
|
run: source tools/ci.sh && ci_native_mpy_modules_build
|
||||||
|
- name: Test importing .mpy generated by mpy_ld.py
|
||||||
|
run: source tools/ci.sh && ci_unix_coverage_run_native_mpy_tests
|
||||||
|
- name: Print failures
|
||||||
|
if: failure()
|
||||||
|
run: tests/run-tests.py --print-failures
|
||||||
|
|
||||||
sanitize_undefined:
|
sanitize_undefined:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user