Skip to content

Commit 9ca2659

Browse files
committed
up
1 parent ef85109 commit 9ca2659

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/trunk.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,15 @@ jobs:
612612
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
613613
timeout: 90
614614
script: |
615-
BUILD_TOOL=cmake
615+
set -eux
616616
bash .ci/scripts/setup-conda.sh
617+
eval "$(conda shell.bash hook)"
617618
618-
# Setup MacOS dependencies as there is no Docker support on MacOS atm
619-
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
619+
# Install requirements
620+
${CONDA_RUN} python install_executorch.py
621+
622+
# # Setup MacOS dependencies as there is no Docker support on MacOS atm
623+
# PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
620624
621625
pip list
622626
@@ -628,7 +632,7 @@ jobs:
628632
# There is no release yet, for CI stability, always test from the same commit on main
629633
# git checkout $OPTIMUM_ET_COMMIT
630634
gh pr checkout 93
631-
python install_dev.py --skip_override_torch
635+
${CONDA_RUN} python install_dev.py --skip_override_torch
632636
popd
633637
pip list
634638
echo "::endgroup::"
@@ -637,7 +641,7 @@ jobs:
637641
# Test model export
638642
MODELS=(smollm llama3)
639643
for MODEL_NAME in "${MODELS[@]}"; do
640-
bash .ci/scripts/export_optimum_et_coreml.sh $MODEL_NAME" /tmp/$MODEL_NAME
644+
${CONDA_RUN} bash .ci/scripts/export_optimum_et_coreml.sh $MODEL_NAME" /tmp/$MODEL_NAME
641645
642646
# test-huggingface-transformers:
643647
# # NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway

0 commit comments

Comments
 (0)