diff --git a/.github/workflows/arduino.yml b/.github/workflows/arduino.yml new file mode 100644 index 0000000000000000000000000000000000000000..0467659b4b92124c7e8b86d972059d0026522200 --- /dev/null +++ b/.github/workflows/arduino.yml @@ -0,0 +1,20 @@ +# 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 diff --git a/.github/workflows/main.yml b/.github/workflows/ci.yaml similarity index 84% rename from .github/workflows/main.yml rename to .github/workflows/ci.yaml index b58a74b0a84b4e469bcc3b24c66dcf257d45cb0e..c512559afb03114dfcebfcda4f20e4b9934d0b96 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/ci.yaml @@ -1,3 +1,12 @@ +# 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: diff --git a/.github/workflows/cortex_m.yml b/.github/workflows/cortex_m.yml new file mode 100644 index 0000000000000000000000000000000000000000..a6e4a55f88e8c7d9de7f070690ba535c0d6d14d5 --- /dev/null +++ b/.github/workflows/cortex_m.yml @@ -0,0 +1,23 @@ +# 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