github/workflows: Add CI workflow for mimxrt port.
This commit is contained in:
parent
c326d9a67b
commit
5f68f0d08a
23
.github/workflows/ports_mimxrt.yml
vendored
Normal file
23
.github/workflows/ports_mimxrt.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: mimxrt port
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/*.yml'
|
||||
- 'tools/**'
|
||||
- 'py/**'
|
||||
- 'extmod/**'
|
||||
- 'lib/**'
|
||||
- 'drivers/**'
|
||||
- 'ports/mimxrt/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install packages
|
||||
run: source tools/ci.sh && ci_mimxrt_setup
|
||||
- name: Build
|
||||
run: source tools/ci.sh && ci_mimxrt_build
|
13
tools/ci.sh
13
tools/ci.sh
@ -138,6 +138,19 @@ function ci_esp8266_build {
|
||||
make ${MAKEOPTS} -C ports/esp8266 BOARD=GENERIC_1M
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
# ports/mimxrt
|
||||
|
||||
function ci_mimxrt_setup {
|
||||
ci_gcc_arm_setup
|
||||
}
|
||||
|
||||
function ci_mimxrt_build {
|
||||
make ${MAKEOPTS} -C ports/mimxrt submodules
|
||||
make ${MAKEOPTS} -C ports/mimxrt BOARD=MIMXRT1020_EVK
|
||||
make ${MAKEOPTS} -C ports/mimxrt BOARD=TEENSY40
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
# ports/nrf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user