Skip to content

Commit 218ee01

Browse files
committed
update trunk.yml
1 parent c51de5a commit 218ee01

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/trunk.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,15 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323
with:
24-
submodules: 'true'
24+
submodules: 'false'
2525
- uses: actions/setup-python@v4
2626
with:
2727
python-version: '3.10'
28-
cache: pip
2928
- name: Extract the list of models to test
3029
id: gather-models
3130
run: |
3231
set -eux
3332
34-
source .ci/scripts/utils.sh
35-
# This is a simple Python script but as it tries to import executorch.examples.models,
36-
# it requires a whole bunch of ExecuTorch dependencies on the Docker image
37-
install_pip_dependencies
38-
install_executorch
39-
4033
PYTHONPATH="${PWD}" python .ci/scripts/gather_test_models.py --target-os macos --event "${GITHUB_EVENT_NAME}"
4134
4235
test-models-macos:
@@ -57,14 +50,13 @@ jobs:
5750
5851
MODEL_NAME=${{ matrix.model }}
5952
BUILD_TOOL=${{ matrix.build-tool }}
60-
XNNPACK_QUANTIZATION=${{ matrix.xnnpack_quantization }}
61-
XNNPACK_DELEGATION=${{ matrix.delegation }}
53+
BACKEND=${{ matrix.backend }}
6254
DEMO_BACKEND_DELEGATION=${{ matrix.demo_backend_delegation }}
6355
6456
# Setup MacOS dependencies as there is no Docker support on MacOS atm
6557
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
6658
# Build and test xecutorch
67-
PYTHON_EXECUTABLE=python bash .ci/scripts/test.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${XNNPACK_QUANTIZATION}" "${XNNPACK_DELEGATION}" "${DEMO_BACKEND_DELEGATION}"
59+
PYTHON_EXECUTABLE=python bash .ci/scripts/test.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}" "${DEMO_BACKEND_DELEGATION}"
6860
popd
6961
7062
test-custom-ops-macos:

0 commit comments

Comments
 (0)