File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,17 @@ jobs:
4545 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4646 runner : linux.2xlarge
4747 docker-image : executorch-ubuntu-22.04-arm-sdk
48- python-version : 3.12
4948 submodules : recursive
5049 timeout : 90
5150 script : |
5251 set -eux
53- ${CONDA_RUN} ./install_requirements.sh > /dev/null
54- ${CONDA_RUN} cmake --preset ${{ matrix.preset }}
55- ${CONDA_RUN} cmake --build cmake-out -j$(( $(sysctl -n hw.ncpu) - 1 ))
52+ # The generic Linux job chooses to use base env, not the one setup by the image
53+ CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
54+ conda activate "${CONDA_ENV}"
55+
56+ ./install_requirements.sh > /dev/null
57+ cmake --preset ${{ matrix.preset }}
58+ cmake --build cmake-out -j$(( $(nproc) - 1 ))
5659 linux :
5760 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
5861 strategy :
You can’t perform that action at this time.
0 commit comments