Skip to content

Commit a170a34

Browse files
committed
Work through script
1 parent 4c90c9f commit a170a34

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/windows-arm.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ env:
1313
# Preserve working directory for calls into bash
1414
# Without this, invoking bash will cd to the home directory
1515
CHERE_INVOKING: "yes"
16-
INTERFACE64: 1
17-
BASH_PATH: "c:\\rtools40\\usr\\bin\\bash.exe"
16+
BASH_PATH: "C:\\Program Files\Git\\bin\\bash.exe"
1817
FORTRAN_BIN: flang
18+
PLAT: arm64
19+
INTERFACE64: 0
1920

2021
jobs:
2122
build:
@@ -58,6 +59,8 @@ jobs:
5859
run: |
5960
git submodule update --init --recursive
6061
.\tools\build_steps_win_arm64.bat
62+
cd local
63+
zip -r ../builds/scipy_openblas32.zip scipy_openblas32
6164
6265
- name: Test
6366
# Disable test while we work out bash / testing.
@@ -68,27 +71,25 @@ jobs:
6871
.\for_test\test.exe
6972
echo "Dynamic test"
7073
.\for_test\test_dyn.exe
74+
cp for_test\test*.exe builds
7175
72-
- name: Copy
76+
- name: Test 32-bit interface wheel
77+
if: matrix.INTERFACE64 != '1'
7378
run: |
74-
cp for_test\test*.exe builds
79+
python -m pip install --no-index --find-links dist scipy_openblas32
80+
python -m scipy_openblas32
81+
python -c "import scipy_openblas32; print(scipy_openblas32.get_pkg_config())"
7582
7683
- uses: actions/[email protected]
7784
with:
78-
name: wheels-${{matrix.plat }}-${{ matrix.INTERFACE64 }}
85+
name: wheels-${{ env.PLAT }}-${{ env.INTERFACE64 }}
7986
path: dist/scipy_openblas*.whl
8087

8188
- uses: actions/[email protected]
8289
with:
83-
name: openblas-${{matrix.plat }}-${{ matrix.INTERFACE64 }}
90+
name: openblas-${{ env.PLAT }}-${{ env.INTERFACE64 }}
8491
path: builds/openblas*.zip
8592

86-
- name: Test 64-bit interface wheel
87-
run: |
88-
python -m pip install --no-index --find-links dist scipy_openblas64
89-
python -m scipy_openblas64
90-
python -c "import scipy_openblas64; print(scipy_openblas64.get_pkg_config())"
91-
9293
- name: Install Anaconda client
9394
run: |
9495
wget https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe -Outfile rustup-init.exe

0 commit comments

Comments
 (0)