diff options
author | DWesl <22566757+DWesl@users.noreply.github.com> | 2022-10-31 10:11:54 -0400 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2022-11-15 10:56:24 -0700 |
commit | 92637d4212973dcdc75a3044e97bfadb496f6175 (patch) | |
tree | d69d575f5f4fc80f05543cc72750ab019d3531b0 | |
parent | e5c39c8a89c4a7165136773e06d0042240be49fa (diff) | |
download | numpy-92637d4212973dcdc75a3044e97bfadb496f6175.tar.gz |
CI: Only fetch in actions/checkout
I had the workflow fetch the repository in two steps earlier. That was failing after the switch from egor-tensin/install-cygwin to cygwin/install-cygwin-action. This avoids that step and hopefully sidesteps whatever the problem is; I'm hoping the problem is just internet access by an untrusted binary.
-rw-r--r-- | .github/workflows/cygwin.yml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index efac1ce03..18fd03c52 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -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: @@ -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: | |