You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libtcap/.github/workflows/sanitizers.yml

25 lines
458 B

name: Sanitizers
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
env:
FLAGS: "-fsanitize=address -fsanitize=leak -fsanitize=undefined"
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Get build dependencies
run: |
sudo apt-get build-dep -qq -y .
- name: Build with sanitizers enabled
run: |
CFLAGS="$FLAGS" LDFLAGS="$FLAGS" make test