workflows: build pull requests and master

With this change pull requests from forks are also built.
We yet need to verify if tags/releases are built or if we need to
specify the tags as well.
This commit is contained in:
Julian Oes 2020-01-28 20:37:06 +01:00 committed by Daniel Agar
parent a2e95f171f
commit 00728dab18
5 changed files with 35 additions and 5 deletions

View File

@ -1,6 +1,12 @@
name: Build Tests
on: [push]
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
build:

View File

@ -1,6 +1,12 @@
name: C/C++ CI
on: [push]
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
build:

View File

@ -1,6 +1,12 @@
name: compile nuttx
on: [push]
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
build:

View File

@ -1,6 +1,12 @@
name: SITL Tests
on: [push]
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
build:

View File

@ -1,6 +1,12 @@
name: SITL Tests (Code Coverage)
on: [push]
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
build: