Merge pull request #33 from larsewi/autoscan #31
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: C CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: update apt repositories | |
run: sudo apt -y update | |
- name: install dependencies | |
run: sudo apt -y install check libtool-bin valgrind | |
- name: bootstrap | |
run: ./bootstrap.sh | |
- name: configure C | |
run: ./configure CC=gcc --enable-debug | |
- name: make | |
run: make | |
- name: make check | |
run: make check |