Made the asan build only address sanitize the Zimtohrli code, not all the dependencies as well, to avoid exploding on unsanitary deps. #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Zimtohrli | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: '! github.event.pull_request.draft' | |
steps: | |
- name: Install dependencies | |
run: sudo apt install -y libogg-dev libvorbis-dev libflac-dev cmake ninja-build libasound2-dev libglfw3-dev libopus-dev | |
- name: Install modern xxd | |
run: (curl -O http://ftp.us.debian.org/debian/pool/main/v/vim/xxd_9.0.1378-2_amd64.deb && sudo dpkg -i xxd_9.0.1378-2_amd64.deb) | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Configure | |
run: ./configure.sh | |
- name: Build | |
run: (cd build && env ninja) | |
- name: Test | |
run: (cd build && env ctest --output-on-failure) |