cortex_m.yml 1.2 KB
Newer Older
1 2 3 4 5 6
# 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/

A
Advait Jain 已提交
7
name: Cortex-M
8 9 10 11

# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule
on:
  schedule:
A
Advait Jain 已提交
12 13 14 15
    - cron: '0 4 * * *'

  # Allow manually triggering of the workflow.
  workflow_dispatch: {}
16 17

jobs:
18
  cortex_m_generic:
19
    runs-on: ubuntu-latest
20 21 22 23 24

    if: |
      github.event_name == 'workflow_dispatch' ||
      (github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro')

25
    name: Cortex-M Generic
26 27 28 29 30
    steps:
      - uses: actions/checkout@v2
      - name: Test
        run: |
          tensorflow/lite/micro/tools/ci_build/test_cortex_m_generic.sh
31 32 33

  cortex_m_corstone_300:
    runs-on: ubuntu-latest
34 35 36 37 38

    if: |
      github.event_name == 'workflow_dispatch' ||
      (github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro')

39 40 41 42 43
    name: Cortex-M Corstone 300 (FVP)
    steps:
      - uses: actions/checkout@v2
      - name: Test
        run: |
A
Advait Jain 已提交
44
          tensorflow/lite/micro/tools/ci_build/test_cortex_m_corstone_300.sh