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

Workflow to sync code from github.com/tensorflow/tensorflow (#35)

上级 c44c8991
# 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/
#
name: Sync from Upstream TF
on:
schedule:
- cron: '0 8 * * *'
# Allow manually triggering of the workflow.
workflow_dispatch: {}
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@v2
- name: Create TFLM tree
run: |
./ci/sync_from_upstream_tf.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
with:
branch: sync-from-upstream-tf
delete-branch: true
title: Automated sync from github.com/tensorflow/tensorflow
commit-message: Automated sync from github.com/tensorflow/tensorflow
body: ""
labels: ci:run
<!--ts-->
* [TensorFlow Lite for Microcontrollers](#tensorflow-lite-for-microcontrollers)
* [Build Status](#build-status)
* [Official Builds](#official-builds)
* [Community Supported Builds](#community-supported-builds)
* [Additional Documentation](#additional-documentation)
<!-- Added by: advaitjain, at: Thu 29 Apr 2021 12:53:08 PM PDT -->
<!--te-->
# TensorFlow Lite for Microcontrollers
The TFLM code is currently in the process of being refactored out of the
......@@ -22,3 +33,7 @@ Arduino | [![Arduino](https://github.com/tensorflow/tflite-micro/actions
Cortex-M | [![Cortex-M](https://github.com/tensorflow/tflite-micro/actions/workflows/cortex_m.yml/badge.svg)](https://github.com/tensorflow/tflite-micro/actions/workflows/cortex_m.yml) |
Sparkfun Edge | [![Sparkfun Edge](https://github.com/tensorflow/tflite-micro/actions/workflows/sparkfun_edge.yml/badge.svg)](https://github.com/tensorflow/tflite-micro/actions/workflows/sparkfun_edge.yml) |
# Additional Documentation
* [Continuous Integration](docs/continuous_integration.md)
<!--ts-->
* [Automated Sync from the Tensorflow Repository](#automated-sync-from-the-tensorflow-repository)
* [Third Party GitHub Actions Used](#third-party-github-actions-used)
<!-- Added by: advaitjain, at: Thu 29 Apr 2021 12:54:23 PM PDT -->
<!--te-->
[TensorFlow repo]: https://github.com/tensorflow/tensorflow
# Automated Sync from the Tensorflow Repository
While TfLite Micro and TfLite are in separate GitHub repositories, the two
projects continue to share common code.
The [TensorFlow repo][] is the single source of truth for this
shared code. As a result, any changes to this shared code must be made in the
[TensorFlow repo][] which will then automatically sync'd via a scheduled
[GitHub workflow](../.github/workflows/sync.yml).
# Third Party GitHub Actions
We use the following third party actions as part of the TFLM continuous
integration system.
* [Create a PR](https://github.com/peter-evans/create-pull-request) to automate
sync'ing of shared TfLite and TFLM code.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册