mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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.
25 lines
420 B
YAML
25 lines
420 B
YAML
name: Build Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: px4io/px4-dev-base-bionic:2020-01-13
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
- name: check_format
|
|
env:
|
|
CI: true
|
|
run: make check_format
|
|
- name: main tests
|
|
run: make tests
|