@@ -4,10 +4,10 @@ on: [push, pull_request]
44
55jobs :
66 ubuntu :
7- runs-on : ubuntu-latest
7+ runs-on : [ubuntu-latest, ubuntu-24.04-arm]
8+
89 strategy :
910 matrix :
10- # config: [Release, Debug]
1111 config : [Release]
1212 all_tests : [ON]
1313
4141 runs-on : ubuntu-latest
4242 strategy :
4343 matrix :
44- # config: [Release, Debug]
4544 config : [Release]
4645 all_tests : [ON]
4746
5453 - name : Install 32-bit deps
5554 run : |
5655 sudo apt-get update
57- sudo apt-get install -y gcc-multilib g++-multilib libc6-dev-i386
56+ sudo apt-get install -y gcc-multilib g++-multilib
57+ sudo apt-get install -y libc6-dev-i386 libstdc++-devel.i686
5858
5959 - name : Configure CMake
6060 working-directory : ${{runner.workspace}}/build
8383 runs-on : ubuntu-24.04-arm
8484 strategy :
8585 matrix :
86- # config: [Release, Debug]
8786 config : [Release]
8887 all_tests : [ON]
8988
@@ -121,7 +120,8 @@ 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]
124+ fail-fast : false
125125 strategy :
126126 matrix :
127127 config : [Release]
@@ -137,7 +137,50 @@ jobs:
137137 cmake `
138138 -S "$env:GITHUB_WORKSPACE" `
139139 -B "${{ runner.workspace }}/build" `
140- -A ${{ matrix.arch }}
140+ -A ${{ matrix.arch }} `
141+ -DHIPO=ON `
142+ -DALL_TESTS=${{ matrix.all_tests }} `
143+ -DBUILD_OPENBLAS=ON
144+
145+ - name : Build
146+ shell : pwsh
147+ working-directory : ${{runner.workspace}}/build
148+ run : |
149+ cmake --build . --parallel --config ${{ matrix.config }}
150+
151+ - name : Test executable
152+ shell : pwsh
153+ working-directory : ${{runner.workspace}}/build
154+ run : |
155+ & ".\${{ matrix.config }}\bin\highs.exe" --solver=hipo `
156+ "$env:GITHUB_WORKSPACE/check/instances/afiro.mps"
157+
158+ - name : Ctest
159+ shell : pwsh
160+ working-directory : ${{runner.workspace}}/build
161+ run : |
162+ ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
163+
164+ windows_arm_64 :
165+ runs-on : [windows-11-arm]
166+ strategy :
167+ matrix :
168+ config : [Release]
169+ all_tests : [ON]
170+ # ARM32 Windows development is basically deprecated:
171+ # https://learn.microsoft.com/en-us/windows/arm/arm32-to-arm64
172+ arch : ["x64"]
173+
174+ steps :
175+ - uses : actions/checkout@v4
176+
177+ - name : Configure CMake
178+ shell : pwsh
179+ run : |
180+ cmake `
181+ -S "$env:GITHUB_WORKSPACE" `
182+ -B "${{ runner.workspace }}/build" `
183+ -A ${{ matrix.arch }} `
141184 -DHIPO=ON `
142185 -DALL_TESTS=${{ matrix.all_tests }} `
143186 -DBUILD_OPENBLAS=ON
0 commit comments