2020-03-21 09:26:14 +08:00
|
|
|
name: test-asan
|
|
|
|
|
2020-05-01 00:50:33 +08:00
|
|
|
on:
|
|
|
|
push:
|
2020-07-25 07:27:21 +08:00
|
|
|
branches:
|
2020-08-05 21:46:22 +08:00
|
|
|
- master
|
|
|
|
- canary
|
2020-08-07 00:31:17 +08:00
|
|
|
- v[0-9]+.x-staging
|
|
|
|
- v[0-9]+.x
|
2020-05-01 00:50:33 +08:00
|
|
|
paths-ignore:
|
2020-08-05 21:46:22 +08:00
|
|
|
- 'doc/**'
|
2020-05-01 00:50:33 +08:00
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2020-08-05 21:46:22 +08:00
|
|
|
- 'doc/**'
|
2020-03-21 09:26:14 +08:00
|
|
|
|
|
|
|
env:
|
2020-10-06 23:51:24 +08:00
|
|
|
PYTHON_VERSION: 3.9
|
2020-03-21 09:26:14 +08:00
|
|
|
FLAKY_TESTS: dontcare
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test-asan:
|
2020-11-01 16:18:08 +08:00
|
|
|
if: github.event.pull_request.draft == false
|
2020-03-21 09:26:14 +08:00
|
|
|
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 }}
|
2020-10-06 23:51:24 +08:00
|
|
|
uses: actions/setup-python@v2
|
2020-03-21 09:26:14 +08:00
|
|
|
with:
|
|
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
|
|
- name: Environment Information
|
|
|
|
run: npx envinfo
|
|
|
|
- name: Build
|
|
|
|
run: make build-ci -j2 V=1
|
2020-05-01 00:50:33 +08:00
|
|
|
- name: Test
|
2021-01-20 22:36:23 +08:00
|
|
|
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300"
|