Pete Warden | 58f4c2e | 2021-07-27 17:12:49 -0700 | [diff] [blame] | 1 | |
| 2 | name: RISC-V |
| 3 | |
| 4 | # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule |
| 5 | on: |
| 6 | schedule: |
| 7 | # 10am UTC is 3am or 4am PT depending on daylight savings. |
| 8 | - cron: '0 10 * * *' |
| 9 | |
| 10 | # Allow manually triggering of the workflow. |
| 11 | workflow_dispatch: {} |
| 12 | |
| 13 | jobs: |
| 14 | riscv_daily: |
| 15 | runs-on: ubuntu-latest |
| 16 | |
| 17 | if: | |
| 18 | github.event_name == 'workflow_dispatch' || |
| 19 | (github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro') |
| 20 | |
| 21 | name: RISC-V Continuous Builds |
| 22 | steps: |
jwithers | 63510bb | 2022-11-04 16:40:31 -0700 | [diff] [blame^] | 23 | - uses: actions/setup-python@v4 |
| 24 | with: |
| 25 | python-version: '3.10' |
Pete Warden | 58f4c2e | 2021-07-27 17:12:49 -0700 | [diff] [blame] | 26 | - uses: actions/checkout@v2 |
Advait Jain | b929bdf | 2021-08-13 10:11:56 -0700 | [diff] [blame] | 27 | - name: Install dependencies |
| 28 | run: | |
| 29 | pip3 install Pillow |
Nat Jeffries | 6768147 | 2021-08-27 15:18:07 -0700 | [diff] [blame] | 30 | pip3 install Wave |
Pete Warden | 58f4c2e | 2021-07-27 17:12:49 -0700 | [diff] [blame] | 31 | - name: Test |
| 32 | run: | |
| 33 | tensorflow/lite/micro/tools/ci_build/test_riscv.sh |