aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linux_test_asan.yml
blob: d6fc1e88d1c0fd7547829b66fab17043cf08727f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: linux_ci_asan

on: [push, pull_request]

jobs:
  build-native:
    strategy:
      matrix:
        os: [ubuntu-latest]
        compiler: [clang]
    runs-on: ${{ matrix.os }}
    continue-on-error: false
    env:
      CC: ${{ matrix.compiler }}
      ARCH: native
      CFLAGS: "-ggdb -fsanitize=address"
      LDFLAGS: "-fsanitize=address"
      CTEST_OUTPUT_ON_FAILURE: 1
    name: ${{ matrix.compiler }} - ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
    - name: Run CI script
      run: ./scripts/test