File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -123,11 +123,6 @@ jobs:
123123 name : ${{ inputs.download-artifact }}
124124 path : ${{ runner.temp }}/artifacts/
125125
126- - name : Setup upterm session
127- uses : owenthereal/action-upterm@v1
128- with :
129- limit-access-to-actor : true
130-
131126 - name : Run script
132127 shell : bash -l {0}
133128 continue-on-error : ${{ inputs.continue-on-error }}
@@ -152,6 +147,11 @@ jobs:
152147 path : ${{ env.RUNNER_TEST_RESULTS_DIR }}
153148 fail-on-empty : false
154149
150+ - name : Setup upterm session
151+ uses : owenthereal/action-upterm@v1
152+ with :
153+ limit-access-to-actor : true
154+
155155 - name : Check if there are potential artifacts and move them to the correct artifact location
156156 shell : bash -l {0}
157157 working-directory : ${{ inputs.repository }}
Original file line number Diff line number Diff line change @@ -27,17 +27,20 @@ jobs:
2727 BUILD_TOOL=cmake
2828 BACKEND=coreml
2929
30- # bash .ci/scripts/setup-conda.sh
30+ cd pytorch/executorch
31+ bash .ci/scripts/setup-conda.sh
32+
33+ xcode-select --install
3134
3235 # Setup MacOS dependencies as there is no Docker support on MacOS atm
33- # PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
34- # PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/coreml/scripts/install_requirements.sh
36+ PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
37+ PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/coreml/scripts/install_requirements.sh
3538 echo "Finishing installing coreml."
3639
3740 # Build and test coreml model
38- # MODELS=(mv3 ic4 resnet50 edsr mobilebert w2l)
39- # for MODEL_NAME in "${MODELS[@]}"; do
40- # echo "::group::Exporting coreml model: $MODEL_NAME"
41- # PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
42- # echo "::endgroup::"
43- # done
41+ MODELS=(mv3 ic4 resnet50 edsr mobilebert w2l)
42+ for MODEL_NAME in "${MODELS[@]}"; do
43+ echo "::group::Exporting coreml model: $MODEL_NAME"
44+ PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
45+ echo "::endgroup::"
46+ done
You can’t perform that action at this time.
0 commit comments