File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2323# of nightly. This allows CI to test against latest commits from PyTorch
2424install_executorch " use-pt-pinned-commit"
2525build_executorch_runner " ${BUILD_TOOL} "
26- do_not_use_nightly_on_ci
26+
27+ if [[ " ${GITHUB_BASE_REF:- } " == * main* || " ${GITHUB_BASE_REF:- } " == * gh* ]];
28+ do_not_use_nightly_on_ci
29+ fi
Original file line number Diff line number Diff line change @@ -136,4 +136,7 @@ install_pytorch_and_domains
136136# the pinned commit from PyTorch
137137install_executorch " use-pt-pinned-commit"
138138build_executorch_runner " ${BUILD_TOOL} "
139- do_not_use_nightly_on_ci
139+
140+ if [[ " ${GITHUB_BASE_REF:- } " == * main* || " ${GITHUB_BASE_REF:- } " == * gh* ]];
141+ do_not_use_nightly_on_ci
142+ fi
Original file line number Diff line number Diff line change 3131 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
3232 conda activate "${CONDA_ENV}"
3333
34- # DEBUG
35- env
36-
3734 # Setup swiftshader and Vulkan SDK which are required to build the Vulkan delegate
3835 source .ci/scripts/setup-vulkan-linux-deps.sh
3936
6966 export PATH="${TMP_DIR}:$PATH"
7067 trap 'rm -rfv ${TMP_DIR}' EXIT
7168
72- # DEBUG
73- env
74-
7569 # Setup MacOS dependencies as there is no Docker support on MacOS atm
7670 PYTHON_EXECUTABLE=python \
7771 EXECUTORCH_BUILD_PYBIND=ON \
You can’t perform that action at this time.
0 commit comments