Initial bors-ng integration

Github Action only triggered on bors-ng controlled branches (trying/staging).
Fixes #324
This commit is contained in:
Marc Poulhiès 2021-04-01 21:38:38 +02:00
parent 2800f4499f
commit 777ef8a74c
3 changed files with 14 additions and 4 deletions

6
.github/bors.toml vendored Normal file
View File

@ -0,0 +1,6 @@
status = [
"build-and-check", "clang-format"
]
# Uncomment this to use a two hour timeout.
# The default is one hour.
#timeout_sec = 7200

View File

@ -2,12 +2,14 @@ name: C/C++ CI
on:
push:
branches: [ master ]
branches:
- trying
- staging
pull_request:
branches: [ master ]
jobs:
build:
build-and-check:
runs-on: ubuntu-latest

View File

@ -2,12 +2,14 @@ name: Clang Format Lint
on:
push:
branches: [ master ]
branches:
- trying
- staging
pull_request:
branches: [ master ]
jobs:
build:
clang-format:
runs-on: ubuntu-latest
steps: