mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-30 04:41:51 +02:00
Agent-Logs-Url: https://github.com/tbamud/tbamud/sessions/0bc0c851-36e7-4d13-a393-517477e66c73 Co-authored-by: welcor <357770+welcor@users.noreply.github.com>
36 lines
645 B
YAML
36 lines
645 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
checks: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: configure
|
|
run: ./configure
|
|
- name: build
|
|
working-directory: src
|
|
run: touch .accepted && make
|
|
- name: test
|
|
working-directory: tests
|
|
run: make test
|
|
- name: publish test results
|
|
uses: dorny/test-reporter@v1
|
|
if: always()
|
|
with:
|
|
name: Unity Tests
|
|
path: tests/test-results/*.xml
|
|
reporter: java-junit
|