6363
6464jobs :
6565 build :
66- # Don't run on forked repos.
67- if : github.repository_owner == 'pytorch'
66+ # # Don't run on forked repos.
67+ # if: github.repository_owner == 'pytorch'
6868 runs-on : ${{ inputs.runner-type }}
6969 env :
7070 # For sccache access (only on non-forked PRs)
7474 outputs :
7575 build-outcome : ${{ steps.build.outcome }}
7676 steps :
77- - name : Clean up disk space before running MacOS workflow
78- uses : pytorch/test-infra/.github/actions/check-disk-space@main
79-
8077 # [see note: pytorch repo ref]
8178 - name : Checkout PyTorch
8279 uses : pytorch/pytorch/.github/actions/checkout-pytorch@master
@@ -106,6 +103,7 @@ jobs:
106103 environment-file : ${{ inputs.environment-file }}
107104
108105 - name : Install macOS homebrew dependencies
106+ if : ${{ runner.arch == 'X64' }}
109107 run : |
110108 # Install dependencies
111109 brew install libomp
@@ -146,7 +144,7 @@ jobs:
146144 OUR_GITHUB_JOB_ID : ${{ steps.get-job-id.outputs.job-id }}
147145 run : |
148146 echo "CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname "$(which conda)")/../"}" >> "${GITHUB_ENV}"
149- ${CONDA_RUN} .ci /pytorch/macos-build.sh
147+ ${CONDA_RUN} .jenkins /pytorch/macos-build.sh
150148
151149 - name : Archive artifacts into zip
152150 if : inputs.build-generates-artifacts && steps.build.outcome != 'skipped'
@@ -171,8 +169,3 @@ jobs:
171169 retention-days : 14
172170 if-no-files-found : warn
173171 path : sccache-stats-*.json
174-
175- - name : Clean up disk space
176- if : always()
177- continue-on-error : true
178- uses : pytorch/test-infra/.github/actions/check-disk-space@main
0 commit comments