blob: d6761cee2569aa8a39b1200952b0dbf4859d8d62 [file] [log] [blame]
Pete Warden58f4c2e2021-07-27 17:12:49 -07001
2name: RISC-V
3
4# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule
5on:
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
13jobs:
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:
jwithers63510bb2022-11-04 16:40:31 -070023 - uses: actions/setup-python@v4
24 with:
25 python-version: '3.10'
Pete Warden58f4c2e2021-07-27 17:12:49 -070026 - uses: actions/checkout@v2
Advait Jainb929bdf2021-08-13 10:11:56 -070027 - name: Install dependencies
28 run: |
29 pip3 install Pillow
Nat Jeffries67681472021-08-27 15:18:07 -070030 pip3 install Wave
Pete Warden58f4c2e2021-07-27 17:12:49 -070031 - name: Test
32 run: |
33 tensorflow/lite/micro/tools/ci_build/test_riscv.sh