Fix another segfault on unterminated verb (#82) #28
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 | |
on: push | |
jobs: | |
test: | |
# https://github.com/actions/runner-images | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
compiler: gcc | |
valgrind: true | |
- os: ubuntu-latest | |
compiler: clang | |
valgrind: true | |
- os: ubuntu-20.04 | |
compiler: gcc | |
valgrind: false | |
- os: ubuntu-20.04 | |
compiler: clang | |
valgrind: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dependencies | |
run: sudo apt install libfl-dev | |
- name: Set compiler | |
run: | | |
export CC=${{matrix.compiler}} | |
$CC --version | |
- name: Compile and test with valgrind | |
if: ${{ matrix.valgrind == true }} | |
run: | | |
CFLAGS=-g make | |
sudo apt install valgrind | |
./test.pl --valgrind | |
- name: Compile and test without valgrind | |
if: ${{ matrix.valgrind != true }} | |
run: | | |
make | |
./test.pl | |
- name: Test packaging | |
if: ${{ matrix.valgrind != true }} | |
run: make package |