mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-30 14:08:48 +01:00
26 lines
No EOL
545 B
YAML
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
|
|
|