Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: re-enable ASAN Action using clang #32776

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
build: re-enable ASAN Action using clang
clang's linker seems to use considerably less memory than gcc, allowing
us to run on Actions without running out of memory.

Signed-off-by: Matheus Marchini <mmarchini@netflix.com>
  • Loading branch information
mmarchini committed Apr 11, 2020
commit c39affde9eee0f9bdf1c316c0786e4e17adb2010
28 changes: 28 additions & 0 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test-asan

on: [push, pull_request]

env:
PYTHON_VERSION: 3.8
FLAKY_TESTS: dontcare

jobs:
test-asan:
runs-on: ubuntu-latest
env:
CC: clang
CXX: clang++
LINK: clang++
CONFIG_FLAGS: --enable-asan
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1
- name: Test cctest
run: make cctest -j2 V=1