Skip to content

Commit 9d5844a

Browse files
committed
Try to fix macos CI
1 parent 5222068 commit 9d5844a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/trunk.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -635,13 +635,15 @@ jobs:
635635
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
636636
timeout: 90
637637
script: |
638-
echo "::group::Setup ExecuTorch"
638+
echo "::group::Set up ExecuTorch"
639639
bash .ci/scripts/setup-conda.sh
640-
# Setup MacOS dependencies as there is no Docker support on MacOS atm
641-
GITHUB_RUNNER=1 PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool cmake
640+
eval "$(conda shell.bash hook)"
641+
642+
# Install requirements
643+
${CONDA_RUN} python install_executorch.py
642644
echo "::endgroup::"
643645
644-
echo "::group::Setup Huggingface"
646+
echo "::group::Set up Huggingface"
645647
${CONDA_RUN} pip install -U "huggingface_hub[cli]" accelerate
646648
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
647649
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)

0 commit comments

Comments
 (0)