未验证 提交 b39d8067 编写于 作者: A Advait Jain 提交者: GitHub

Adding separate workflows for the Arduino and Cortex-M. (#19)

Running these with each PR is not required and additionally results in
the per-PR checks taking longer. As a result, we will run these checks
at a scheduled time (currently once a day) and post a build badge for
these workflows.
上级 1bccee10
# YAML schema for GitHub Actions:
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
#
# Helpful YAML parser to clarify YAML syntax:
# https://yaml-online-parser.appspot.com/
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule
on:
schedule:
- cron: '0 6 * * *'
jobs:
arduino:
runs-on: ubuntu-latest
name: Arduino Continuous Builds
steps:
- uses: actions/checkout@v2
- name: Test
run: |
tensorflow/lite/micro/tools/ci_build/test_arduino.sh
# YAML schema for GitHub Actions:
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
#
# Helpful YAML parser to clarify YAML syntax:
# https://yaml-online-parser.appspot.com/
#
#
# This file contains the workflows that are run prior to merging a pull request.
name: CI
on:
......@@ -5,16 +14,6 @@ on:
types: [labeled]
jobs:
arduino:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'ci:run')
name: Arduino
steps:
- uses: actions/checkout@v2
- name: Test
run: |
tensorflow/lite/micro/tools/ci_build/test_arduino.sh
bazel_tests:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'ci:run')
......@@ -37,9 +36,6 @@ jobs:
- name: Test
run: |
tensorflow/lite/micro/tools/ci_build/test_bluepill.sh
tensorflow/lite/micro/tools/ci_build/test_cortex_m_corstone_300.sh
tensorflow/lite/micro/tools/ci_build/test_cortex_m_generic.sh
tensorflow/lite/micro/tools/ci_build/test_sparkfun.sh
tensorflow/lite/micro/tools/ci_build/test_stm32f4.sh
check_code_style:
......
# YAML schema for GitHub Actions:
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
#
# Helpful YAML parser to clarify YAML syntax:
# https://yaml-online-parser.appspot.com/
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule
on:
schedule:
- cron: '0 6 * * *'
jobs:
cortex_m_daily:
runs-on: ubuntu-latest
name: Cortex-M Continuous Builds
steps:
- uses: actions/checkout@v2
- name: Test
run: |
tensorflow/lite/micro/tools/ci_build/test_cortex_m_corstone_300.sh
tensorflow/lite/micro/tools/ci_build/test_cortex_m_generic.sh
tensorflow/lite/micro/tools/ci_build/test_sparkfun.sh
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册