mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 00:23:34 +08:00
Switch from jenkins to github actions
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
|
||||
name: Build Tests
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Linux-GCC:
|
||||
runs-on: ubuntu-latest
|
||||
container: px4io/px4-dev-base-bionic:2020-01-13
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: main build
|
||||
run: make
|
||||
- name: clean build
|
||||
run: make clean
|
||||
- name: main test
|
||||
run: make test
|
||||
Linux-Clang:
|
||||
runs-on: ubuntu-latest
|
||||
container: px4io/px4-dev-clang:2019-10-24
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: main build
|
||||
run: make
|
||||
- name: clean build
|
||||
run: make clean
|
||||
# TODO: This is not running at the moment
|
||||
#- name: main test
|
||||
# run: make test
|
||||
Mac-OS:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: main build
|
||||
run: make
|
||||
- name: clean build
|
||||
run: make clean
|
||||
# TODO: This is not running at the moment
|
||||
#- name: main test
|
||||
# run: make test
|
||||
Reference in New Issue
Block a user