-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (31 loc) · 927 Bytes
/
bench.yml
File metadata and controls
35 lines (31 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: OVMobileBench CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
device_serial:
description: 'Device serial'
required: false
# Cancel in-progress runs when a new commit is pushed to the same PR or branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
# Run pre-commit only once on ubuntu-latest
pre-commit:
uses: ./.github/workflows/stage-pre-commit.yml
secrets: inherit
# Run CI matrix for all OS after pre-commit passes
ci-matrix:
needs: pre-commit
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
uses: ./.github/workflows/ci-orchestrator.yml
with:
os: ${{ matrix.os }}
device_serial: ${{ github.event.inputs.device_serial || 'emulator-5554' }}
secrets: inherit