Skip to content

Commit 4811507

Browse files
committed
Install 7z
1 parent f756976 commit 4811507

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/windows-arm.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,16 @@ jobs:
3434
- name: Setup visual studio
3535
uses: microsoft/setup-msbuild@v2
3636

37-
- name: What's where
37+
- name: Download, install 7zip.
3838
run: |
39-
get-command zip
39+
wget https://www.7-zip.org/a/7z2409-arm64.exe -OutFile 7z_arm.exe
40+
Start-Process -FilePath ".\7z_arm.exe" -ArgumentList "/S" -Wait
41+
echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4042
41-
- name: Download LLVM installer for woa64
43+
- name: Download and install LLVM installer
4244
run: |
4345
curl -L -o LLVM-woa64.exe https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.5/LLVM-19.1.5-woa64.exe
44-
45-
- name: Install LLVM silently
46-
shell: pwsh
47-
run: |
4846
Start-Process -FilePath ".\LLVM-woa64.exe" -ArgumentList "/S" -Wait
49-
50-
- name: Add LLVM to PATH
51-
shell: pwsh
52-
run: |
5347
$llvmPath = "C:\Program Files\LLVM\bin"
5448
echo "$llvmPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
5549
@@ -66,7 +60,7 @@ jobs:
6660
- name: Pack
6761
run: |
6862
cd local
69-
zip -r ../builds/scipy_openblas32.zip scipy_openblas32
63+
7z a ../builds/scipy_openblas32.zip -tzip scipy_openblas32
7064
7165
- name: Test
7266
# Disable test while we work out bash / testing.
@@ -80,7 +74,6 @@ jobs:
8074
cp for_test\test*.exe builds
8175
8276
- name: Test 32-bit interface wheel
83-
if: matrix.INTERFACE64 != '1'
8477
run: |
8578
python -m pip install --no-index --find-links dist scipy_openblas32
8679
python -m scipy_openblas32

0 commit comments

Comments
 (0)