Skip to content

Commit ee46cc5

Browse files
committed
Clean up upload-apple-test-specs
1 parent 6739655 commit ee46cc5

File tree

2 files changed

+13
-35
lines changed

2 files changed

+13
-35
lines changed

.github/workflows/apple-perf.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ name: apple-perf
33
on:
44
schedule:
55
- cron: 0 1 * * *
6+
pull_request:
7+
paths:
8+
- .github/workflows/apple-perf.yml
9+
- extension/benchmark/apple/Benchmark/default-ios-device-farm-appium-test-spec.yml.j2
10+
push:
11+
branches:
12+
- main
13+
paths:
14+
- .github/workflows/apple-perf.yml
15+
- extension/benchmark/apple/Benchmark/default-ios-device-farm-appium-test-spec.yml.j2
616
# Note: GitHub has an upper limit of 10 inputs
717
workflow_dispatch:
818
inputs:
@@ -66,9 +76,9 @@ jobs:
6676
# Separate default values from the workflow dispatch. To ensure defaults are accessible
6777
# during scheduled runs and to provide flexibility for different defaults between
6878
# on-demand and periodic benchmarking.
69-
CRON_DEFAULT_MODELS: "stories110M,mv3,mv2,ic4,ic3,resnet50,edsr,mobilebert,w2l"
70-
CRON_DEFAULT_DEVICES: "apple_iphone_15"
71-
CRON_DEFAULT_DELEGATES: "xnnpack,coreml,mps"
79+
CRON_DEFAULT_MODELS: ${{ github.event_name == 'schedule' && 'stories110M,mv3,mv2,ic4,ic3,resnet50,edsr,mobilebert,w2l' || 'stories110M' }}
80+
CRON_DEFAULT_DEVICES: apple_iphone_15
81+
CRON_DEFAULT_DELEGATES: ${{ github.event_name == 'schedule' && 'xnnpack,coreml,mps' || 'xnnpack' }}
7282
run: |
7383
set -ex
7484
MODELS="${{ inputs.models }}"

.github/workflows/upload-apple-test-specs.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)