GeezerVison is showing github.com — Merge pull request #199 from Harishmcw/main · MacPython/openblas-libs@a9daa2a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/windows-arm.yml +17-7Lines changed: 17 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
14 | 14 | CHERE_INVOKING: "yes" |
15 | 15 | BASH_PATH: "C:\\Program Files\\Git\\bin\\bash.exe" |
16 | 16 | PLAT: arm64 |
17 | | - INTERFACE64: 0 |
18 | | - BUILD_BITS: 32 |
19 | 17 |
|
20 | 18 | jobs: |
21 | 19 | build: |
22 | 20 | runs-on: windows-11-arm |
23 | 21 | timeout-minutes: 90 |
24 | 22 |
|
| 23 | + strategy: |
| 24 | + matrix: |
| 25 | + include: |
| 26 | + - INTERFACE64: 1 |
| 27 | + BUILD_BITS: 64 |
| 28 | + - INTERFACE64: 0 |
| 29 | + BUILD_BITS: 32 |
| 30 | + |
| 31 | + env: |
| 32 | + INTERFACE64: ${{ matrix.INTERFACE64 }} |
| 33 | + BUILD_BITS: ${{ matrix.BUILD_BITS }} |
| 34 | + |
25 | 35 | steps: |
26 | 36 |
|
27 | 37 | |
@@ -55,19 +65,19 @@ jobs: |
55 | 65 | - name: Build |
56 | 66 | run: | |
57 | 67 | git submodule update --init --recursive |
58 | | - .\tools\build_steps_win_arm64.bat |
| 68 | + if ($env:INTERFACE64 -eq "1") { .\tools\build_steps_win_arm64.bat 64 64 } else { .\tools\build_steps_win_arm64.bat } |
59 | 69 |
|
60 | 70 | - name: Pack |
61 | 71 | run: | |
62 | 72 | cd local |
63 | 73 | cp -r "scipy_openblas${env:BUILD_BITS}" $env:BUILD_BITS |
64 | 74 | 7z a ../builds/openblas-${env:PLAT}-${env:INTERFACE64}.zip -tzip $env:BUILD_BITS |
65 | 75 |
|
66 | | - - name: Test 32-bit interface wheel |
| 76 | + - name: Test ${{ matrix.BUILD_BITS }}-bit interface wheel |
67 | 77 | run: | |
68 | | - python -m pip install --no-index --find-links dist scipy_openblas32 |
69 | | - python -m scipy_openblas32 |
70 | | - python -c "import scipy_openblas32; print(scipy_openblas32.get_pkg_config())" |
| 78 | + python -m pip install --no-index --find-links dist scipy_openblas${env:BUILD_BITS} |
| 79 | + python -m scipy_openblas${env:BUILD_BITS} |
| 80 | + python -c "import scipy_openblas${env:BUILD_BITS}; print(scipy_openblas${env:BUILD_BITS}.get_pkg_config())" |
71 | 81 |
|
72 | 82 | |
73 | 83 | with: |
|