From d089979ae7fa0c54ce50053966fedfe5695a237a Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Sat, 24 Jan 2026 21:25:15 -0800 Subject: [PATCH] Added windows --- .github/workflows/merge_group.yml | 19 ++++++++++++------- .github/workflows/pr_test.yml | 29 ++++++++++++++++++----------- .github/workflows/run_windows.yml | 4 ++++ 3 files changed, 34 insertions(+), 18 deletions(-) diff --git a/.github/workflows/merge_group.yml b/.github/workflows/merge_group.yml index 8c40a12fa38..eb0ab102258 100644 --- a/.github/workflows/merge_group.yml +++ b/.github/workflows/merge_group.yml @@ -13,10 +13,16 @@ jobs: secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} - call-hexagon: - uses: ./.github/workflows/suite_hexagon.yml + call-windows: + uses: ./.github/workflows/test_windows.yml + with: + trigger-sha: ${{ github.sha }} + + call-cortex-m: + uses: ./.github/workflows/suite_cortex_m.yml with: trigger-sha: ${{ github.sha }} + scope: 'all' secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} @@ -28,11 +34,10 @@ jobs: secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} - call-cortex-m: - uses: ./.github/workflows/suite_cortex_m.yml + call-hexagon: + uses: ./.github/workflows/suite_hexagon.yml with: trigger-sha: ${{ github.sha }} - scope: 'all' secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} @@ -44,7 +49,7 @@ jobs: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} tests-passed: - needs: [call-core, call-hexagon, call-xtensa, call-cortex-m, call-riscv] + needs: [call-core, call-windows, call-cortex-m, call-xtensa, call-hexagon, call-riscv] if: always() runs-on: ubuntu-latest steps: @@ -53,4 +58,4 @@ jobs: echo "One or more dependent jobs failed." exit 1 fi - exit 0 \ No newline at end of file + exit 0 diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index 4fe4e32351b..aaf13a6868f 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -38,34 +38,32 @@ jobs: echo "scope=$SCOPE" >> $GITHUB_OUTPUT - call-core: + call-check-tflite-files: needs: gatekeeper if: needs.gatekeeper.outputs.scope != 'none' - uses: ./.github/workflows/suite_core.yml + uses: ./.github/workflows/check_tflite_files.yml with: trigger-sha: ${{ github.event.pull_request.head.sha }} + pr-number: ${{ github.event.pull_request.number }} + pr-body: ${{ github.event.pull_request.body }} secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} - call-check-tflite-files: + call-core: needs: gatekeeper if: needs.gatekeeper.outputs.scope != 'none' - uses: ./.github/workflows/check_tflite_files.yml + uses: ./.github/workflows/suite_core.yml with: trigger-sha: ${{ github.event.pull_request.head.sha }} - pr-number: ${{ github.event.pull_request.number }} - pr-body: ${{ github.event.pull_request.body }} secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} - call-hexagon: + call-windows: needs: gatekeeper if: needs.gatekeeper.outputs.scope != 'none' - uses: ./.github/workflows/suite_hexagon.yml + uses: ./.github/workflows/test_windows.yml with: trigger-sha: ${{ github.event.pull_request.head.sha }} - secrets: - tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} call-cortex-m: needs: gatekeeper @@ -87,6 +85,15 @@ jobs: secrets: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} + call-hexagon: + needs: gatekeeper + if: needs.gatekeeper.outputs.scope != 'none' + uses: ./.github/workflows/suite_hexagon.yml + with: + trigger-sha: ${{ github.event.pull_request.head.sha }} + secrets: + tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} + call-riscv: needs: gatekeeper if: needs.gatekeeper.outputs.scope == 'all' @@ -97,7 +104,7 @@ jobs: tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} tests-passed: - needs: [gatekeeper, call-core, call-check-tflite-files, call-hexagon, call-cortex-m, call-xtensa, call-riscv] + needs: [gatekeeper, call-check-tflite-files, call-core, call-windows, call-cortex-m, call-xtensa, call-hexagon, call-riscv] if: always() runs-on: ubuntu-latest steps: diff --git a/.github/workflows/run_windows.yml b/.github/workflows/run_windows.yml index 0866d253832..535c3201b1f 100644 --- a/.github/workflows/run_windows.yml +++ b/.github/workflows/run_windows.yml @@ -3,6 +3,10 @@ name: Run-Windows # Entry point for Windows tests. Triggered by schedule or workflow_dispatch. on: + schedule: + # 10am UTC is 3am or 4am PT depending on daylight savings. + - cron: '0 10 * * *' + # Allow manually triggering of the workflow. workflow_dispatch: {}