Skip to content

Commit 9b2cb87

Browse files
authored
Fix macos test-model jobs (#9235)
Fixing #9227, It wasn't running efficient_sam, llama etc. Because I had to define all variables in the include statement. Since build-tool and runner are singletons, I just hard code it. Test Plan: Make sure trunk jobs have softmax, efficient_sam etc.
1 parent 23a6d11 commit 9b2cb87

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/trunk.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
matrix:
2626
model: [add, add_mul, emformer_join, emformer_transcribe, ic3, ic4, linear, llama2, mobilebert, mv2, mv3, resnet18, resnet50, vit, w2l]
2727
backend: [portable, xnnpack-quantization-delegation]
28-
build-tool: [cmake]
29-
runner: [macos-m1-stable]
3028
include:
3129
- model: efficient_sam
3230
backend: portable
@@ -46,14 +44,14 @@ jobs:
4644
backend: portable
4745
fail-fast: false
4846
with:
49-
runner: ${{ matrix.runner }}
47+
runner: macos-m1-stable
5048
python-version: '3.11'
5149
submodules: 'true'
5250
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
5351
timeout: 90
5452
script: |
5553
MODEL_NAME=${{ matrix.model }}
56-
BUILD_TOOL=${{ matrix.build-tool }}
54+
BUILD_TOOL=cmake
5755
BACKEND=${{ matrix.backend }}
5856
DEMO_BACKEND_DELEGATION=${{ matrix.demo_backend_delegation }}
5957

0 commit comments

Comments
 (0)