diff options
| author | DWesl <22566757+DWesl@users.noreply.github.com> | 2021-10-28 21:12:12 -0400 |
|---|---|---|
| committer | DWesl <22566757+DWesl@users.noreply.github.com> | 2021-10-28 21:12:12 -0400 |
| commit | eaf95ffc816bb675198fdc26b99184f91a39b7a5 (patch) | |
| tree | c2dd8b95e31ba1a360cc9753d75b7b7673ca0f04 | |
| parent | ce46874e0f096803e82261a2dfd2bd7ea54e5095 (diff) | |
| download | numpy-eaf95ffc816bb675198fdc26b99184f91a39b7a5.tar.gz | |
TST: Move rebase command to a separate file.
I really need to look up PowerShell syntax.
| -rw-r--r-- | .github/workflows/cygwin.yml | 2 | ||||
| -rw-r--r-- | tools/rebase_installed_dlls_cygwin.sh | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 46b305476..78fa25995 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -51,7 +51,7 @@ jobs: bash -c "/usr/bin/python3.8 -m pip install dist/numpy-*cp38*.whl" - name: Rebase NumPy compiled extensions run: | - bash -c "/usr/bin/rebase --database --oblivious $(/bin/dash tools/list_numpy_dlls.sh 3.8)" + dash "tools/rebase_installed_dlls_cygwin.sh" 3.8 - name: Run NumPy test suite run: >- dash -c "/usr/bin/python3.8 runtests.py -n -vv" diff --git a/tools/rebase_installed_dlls_cygwin.sh b/tools/rebase_installed_dlls_cygwin.sh new file mode 100644 index 000000000..f772879d9 --- /dev/null +++ b/tools/rebase_installed_dlls_cygwin.sh @@ -0,0 +1,5 @@ +#!/bin/dash +# Rebase the dlls installed by NumPy + +py_ver=${1} +/usr/bin/rebase --database --oblivious `/bin/dash tools/list_numpy_dlls.sh ${py_ver}` |
