Skip to content

Commit 8fad943

Browse files
committed
openblas does not support windows arm 32
1 parent b377b5a commit 8fad943

File tree

1 file changed

+43
-3
lines changed

1 file changed

+43
-3
lines changed

.github/workflows/hipo-fetch.yml

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
# config: [Release, Debug]
1110
config: [Release]
1211
all_tests: [ON]
1312

@@ -121,7 +120,7 @@ jobs:
121120
ctest --parallel --timeout 300 --output-on-failure
122121
123122
windows:
124-
runs-on: [windows-latest, windows-11-arm]
123+
runs-on: [windows-latest]
125124
strategy:
126125
matrix:
127126
config: [Release]
@@ -161,6 +160,47 @@ jobs:
161160
run: |
162161
ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
163162
163+
windows_arm_64:
164+
runs-on: [windows-11-arm]
165+
strategy:
166+
matrix:
167+
config: [Release]
168+
all_tests: [ON]
169+
arch: ["x64"]
170+
171+
steps:
172+
- uses: actions/checkout@v4
173+
174+
- name: Configure CMake
175+
shell: pwsh
176+
run: |
177+
cmake `
178+
-S "$env:GITHUB_WORKSPACE" `
179+
-B "${{ runner.workspace }}/build" `
180+
-A ${{ matrix.arch }}
181+
-DHIPO=ON `
182+
-DALL_TESTS=${{ matrix.all_tests }} `
183+
-DBUILD_OPENBLAS=ON
184+
185+
- name: Build
186+
shell: pwsh
187+
working-directory: ${{runner.workspace}}/build
188+
run: |
189+
cmake --build . --parallel --config ${{ matrix.config }}
190+
191+
- name: Test executable
192+
shell: pwsh
193+
working-directory: ${{runner.workspace}}/build
194+
run: |
195+
& ".\${{ matrix.config }}\bin\highs.exe" --solver=hipo `
196+
"$env:GITHUB_WORKSPACE/check/instances/afiro.mps"
197+
198+
- name: Ctest
199+
shell: pwsh
200+
working-directory: ${{runner.workspace}}/build
201+
run: |
202+
ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
203+
164204
# linux shared is default, static build tested in the release artifacts
165205
# windows static is default so test shared
166206
windows_shared:
@@ -183,7 +223,7 @@ jobs:
183223
shell: pwsh
184224
working-directory: ${{runner.workspace}}/build
185225
run: |
186-
cmake --build . --parallel --config ${{ matrix.config }}
226+
cmake --build . --parallel --config Release
187227
188228
- name: Test executable
189229
shell: pwsh

0 commit comments

Comments
 (0)