Merge pull request #151 from fweimer-rh/c99 #46
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 foma | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dependencies | |
run: | | |
sudo apt-get -qy update | |
sudo apt-get -qfy install --no-install-recommends cmake | |
- name: build with sanitizer | |
run: cd foma && export CFLAGS="-g3 -Wall -fsanitize=address" && cmake . && make -j | |
- name: run tests | |
run: cd foma/tests && PATH=../:$PATH ./run.sh |