forked from cory/tildefriends
Cory McWilliams
e2c25ab414
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3735 ed5197a5-7fde-0310-b194-c3ffbd925b24
27 lines
775 B
YAML
27 lines
775 B
YAML
name: Sanitizer checks
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
sanitizers:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup
|
|
run: |
|
|
sudo apt-get install ninja-build
|
|
- name: Envinfo
|
|
run: npx envinfo
|
|
- name: TSAN
|
|
run: |
|
|
mkdir build-tsan
|
|
(cd build-tsan && cmake .. -G Ninja -DBUILD_TESTING=ON -DTSAN=ON -DCMAKE_BUILD_TYPE=Release)
|
|
cmake --build build-tsan
|
|
./build-tsan/uv_run_tests_a || true # currently permit failures
|
|
- name: ASAN
|
|
run: |
|
|
mkdir build-asan
|
|
(cd build-asan && cmake .. -G Ninja -DBUILD_TESTING=ON -DASAN=ON -DCMAKE_BUILD_TYPE=Debug)
|
|
cmake --build build-asan
|
|
./build-asan/uv_run_tests_a
|