|
37 | 37 | python-version: 3.12 |
38 | 38 | architecture: arm64 |
39 | 39 |
|
40 | | - - name: Setup visual studio |
41 | | - uses: microsoft/setup-msbuild@v2 |
42 | | - |
43 | | - - name: Download, install 7zip. |
44 | | - run: | |
45 | | - Invoke-WebRequest https://www.7-zip.org/a/7z2409-arm64.exe -UseBasicParsing -OutFile 7z_arm.exe |
46 | | - Start-Process -FilePath ".\7z_arm.exe" -ArgumentList "/S" -Wait |
47 | | - echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append |
48 | | -
|
49 | 40 | - name: Download and install LLVM installer |
50 | 41 | run: | |
51 | 42 | Invoke-WebRequest https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-woa64.exe -UseBasicParsing -OutFile LLVM-woa64.exe |
|
58 | 49 | Invoke-WebRequest https://github.com/Kitware/CMake/releases/download/v3.29.4/cmake-3.29.4-windows-arm64.msi -OutFile cmake-arm64.msi |
59 | 50 | Start-Process msiexec.exe -ArgumentList "/i cmake-arm64.msi /quiet /norestart" -Wait |
60 | 51 | echo "C:\Program Files\CMake\bin" >> $env:GITHUB_PATH |
61 | | - |
| 52 | +
|
62 | 53 | Invoke-WebRequest https://github.com/ninja-build/ninja/releases/download/v1.13.1/ninja-winarm64.zip -OutFile ninja-winarm64.zip |
63 | 54 | Expand-Archive ninja-winarm64.zip -DestinationPath ninja |
64 | 55 | Copy-Item ninja\ninja.exe -Destination "C:\Windows\System32" |
|
76 | 67 | git submodule update --init --recursive |
77 | 68 | .\tools\build_steps_win_arm64.bat 64 ${env:INTERFACE_BITS} |
78 | 69 |
|
79 | | - - name: Pack |
80 | | - run: | |
81 | | - cd local |
82 | | - cp -r "scipy_openblas${env:INTERFACE_BITS}" $env:INTERFACE_BITS |
83 | | - 7z a ../builds/openblas-${env:PLAT}-${env:INTERFACE64}.zip -tzip $env:INTERFACE_BITS |
84 | | -
|
85 | 70 | - name: Test ${{ matrix.INTERFACE_BITS }}-bit interface wheel |
86 | 71 | run: | |
87 | 72 | python -m pip install --no-index --find-links dist scipy_openblas${env:INTERFACE_BITS} |
|
93 | 78 | name: wheels-${{ env.PLAT }}-${{ env.INTERFACE64 }} |
94 | 79 | path: dist/scipy_openblas*.whl |
95 | 80 |
|
96 | | - - uses: actions/upload-artifact@v4.3.0 |
97 | | - with: |
98 | | - name: openblas-${{ env.PLAT }}-${{ env.INTERFACE64 }} |
99 | | - path: builds/openblas*.zip |
100 | | - |
101 | 81 | - name: Install Anaconda client |
102 | 82 | run: | |
103 | 83 | # Rust installation needed for rpds-py. |
|
0 commit comments