Skip to content

Commit 5cad30d

Browse files
committed
1 parent eae33a4 commit 5cad30d

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/windows-arm.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ on:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8-
workflow_dispatch: null
8+
workflow_dispatch:
9+
inputs:
10+
debug_enabled:
11+
type: boolean
12+
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
13+
required: false
14+
default: false
915

1016
env:
1117
OPENBLAS_COMMIT: "v0.3.29"
@@ -35,6 +41,11 @@ jobs:
3541
- name: Setup visual studio
3642
uses: microsoft/setup-msbuild@v2
3743

44+
# Enable tmate debugging of manually-triggered workflows if the input option was provided
45+
- name: Setup tmate session
46+
uses: mxschmitt/action-tmate@v3
47+
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
48+
3849
- name: Download LLVM installer for woa64
3950
run: |
4051
curl -L -o LLVM-woa64.exe https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.5/LLVM-19.1.5-woa64.exe
@@ -59,6 +70,9 @@ jobs:
5970
run: |
6071
git submodule update --init --recursive
6172
.\tools\build_steps_win_arm64.bat
73+
74+
- name: Pack
75+
run: |
6276
cd local
6377
zip -r ../builds/scipy_openblas32.zip scipy_openblas32
6478

0 commit comments

Comments
 (0)