tbamud/.github/workflows/build.yml

26 lines
No EOL
545 B
YAML

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: download munit
run: git submodule init && git submodule update
- name: install cmocka
run: sudo apt install -y libcmocka-dev
- name: configure
run: ./configure
- name: build tests
run: cd src && touch .accepted && make test
- name: build
run: cd src && touch .accepted && make clean && make all