Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Only fetch in actions/checkout #22596

Merged
merged 1 commit into from Nov 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 3 additions & 11 deletions .github/workflows/cygwin.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 3000
fetch-depth: 0
- name: Install Cygwin
uses: cygwin/cygwin-install-action@v2
with:
Expand All @@ -39,22 +39,14 @@ jobs:
- name: Set Windows PATH
uses: egor-tensin/cleanup-path@v1
with:
dirs: 'C:\tools\cygwin\lib\lapack;C:\tools\cygwin\bin'
- name: Remove OpenBLAS
# Added to work around OpenBLAS bugs on AVX-512
# Add libopenblas to the Cygwin install step when removing this step
# Should be possible after next Cygwin OpenBLAS update.
run: |
dash -c "/bin/rm -f /usr/bin/cygblas-0.dll"
dirs: 'C:\tools\cygwin\bin;C:\tools\cygwin\lib\lapack'
- name: Verify that bash is Cygwin bash
run: |
command bash
bash -c "uname -svrmo"
- name: Update with Cygwin git
# fetch-depth=0 above should make this short.
- name: Tell Cygwin's git about this repository.
run: |
dash -c "which git; /usr/bin/git config --system --add safe.directory /cygdrive/d/a/numpy/numpy"
dash -c "which git; /usr/bin/git fetch --all -p"
- name: Verify python version
# Make sure it's the Cygwin one, not a Windows one
run: |
Expand Down