[BE][CI] rename .jenkins to .ci, add symlink (#92621)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/92621
Approved by: https://github.com/huydhn, https://github.com/ZainRizvi
This commit is contained in:
Jane Xu
2023-01-20 21:52:07 +00:00
committed by PyTorch MergeBot
parent 09eb4c2a70
commit 8972a9fe6a
63 changed files with 13 additions and 5 deletions

View File

@ -60,6 +60,12 @@ jobs:
call C:\Jenkins\Miniconda3\Scripts\activate.bat C:\Jenkins\Miniconda3
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
# Duplicated in win-test because this MUST go before a checkout
- name: Enable git symlinks on Windows
shell: bash
run: |
git config --global core.symlinks true
# [see note: pytorch repo ref]
- name: Checkout PyTorch
uses: pytorch/pytorch/.github/actions/checkout-pytorch@master

View File

@ -58,11 +58,6 @@ jobs:
runs-on: ${{ matrix.runner }}
timeout-minutes: 300
steps:
- name: Enable git symlinks on Windows
shell: bash
run: |
git config --global core.symlinks true
- name: Setup SSH (Click me for login details)
uses: pytorch/test-infra/.github/actions/setup-ssh@main
with:
@ -78,6 +73,12 @@ jobs:
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
set PYTHONPATH=C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build
# Duplicated in win-build because this MUST go before a checkout
- name: Enable git symlinks on Windows
shell: bash
run: |
git config --global core.symlinks true
# [see note: pytorch repo ref]
- name: Checkout PyTorch
uses: pytorch/pytorch/.github/actions/checkout-pytorch@master

1
.jenkins Symbolic link
View File

@ -0,0 +1 @@
.ci