Skip to content

Commit d7adffd

Browse files
committed
[NOT FOR MERGE] Test workflow version
1 parent 9219029 commit d7adffd

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.ci/scripts/unittest-macos.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ trap 'rm -rfv ${TMP_DIR}' EXIT
2121

2222
# Setup MacOS dependencies as there is no Docker support on MacOS atm
2323
# We need the runner to test the built library.
24+
echo Starting setup
25+
date
2426
PYTHON_EXECUTABLE=python \
2527
CMAKE_ARGS="-DEXECUTORCH_BUILD_EXTENSION_EVALUE_UTIL=ON -DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON -DEXECUTORCH_BUILD_EXECUTOR_RUNNER=ON -DEXECUTORCH_BUILD_TESTS=ON" \
2628
${CONDA_RUN} --no-capture-output \
2729
.ci/scripts/setup-macos.sh "$@"
30+
echo Starting tests
31+
date
2832

2933
if [[ "$BUILD_TOOL" == "cmake" ]]; then
3034
# Install llama3_2_vision dependencies.
3135
PYTHON_EXECUTABLE=python \
3236
${CONDA_RUN} --no-capture-output \
33-
3437
.ci/scripts/unittest-macos-cmake.sh
3538
elif [[ "$BUILD_TOOL" == "buck2" ]]; then
3639
.ci/scripts/unittest-buck2.sh

.github/workflows/_unittest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727

2828
jobs:
2929
linux:
30-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
30+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3131
permissions:
3232
id-token: write
3333
contents: read
@@ -42,7 +42,7 @@ jobs:
4242
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"
4343
4444
macos:
45-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
45+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
4646
with:
4747
runner: macos-m1-stable
4848
python-version: '3.11'
@@ -56,7 +56,7 @@ jobs:
5656
5757
windows:
5858
if: ${{ inputs.build-tool == 'cmake' }}
59-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.9
59+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
6060
with:
6161
submodules: 'recursive'
6262
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)