@@ -7,12 +7,9 @@ concurrency:
77 cancel-in-progress : true
88
99jobs :
10- # macos 13 is Intel
11- build_macos_13 :
12- runs-on : macos-13
13- # strategy:
14- # matrix:
15- # python: [3.11]
10+ # Build macos intel
11+ build_macos_intel :
12+ runs-on : macos-15-intel
1613 steps :
1714 - uses : actions/checkout@v4
1815 - name : Build HiGHS
@@ -31,10 +28,10 @@ jobs:
3128 with :
3229 name : macos-x64
3330 path : ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
34-
35- # macos 14 is M1
36- build_macos_14 :
37- runs-on : macos-14
31+
32+ # Build macos arm64
33+ build_macos_arm :
34+ runs-on : macos-14 # macos-14 is arm64
3835 steps :
3936 - uses : actions/checkout@v4
4037 - name : Build HiGHS
@@ -54,14 +51,14 @@ jobs:
5451 name : macos-arm64
5552 path : ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
5653
57- # Build windows 32 and linux
54+ # Build windows 32 and linux
5855 build_windows_32 :
5956 runs-on : windows-latest
6057 steps :
6158 - uses : actions/checkout@v4
6259 - name : Build HiGHS
6360 run : |
64- cmake -E make_directory ${{runner.workspace}}/build32
61+ cmake -E make_directory ${{runner.workspace}}/build32
6562
6663 - name : Configure CMake win32
6764 shell : bash
@@ -126,7 +123,7 @@ jobs:
126123
127124 build_windows :
128125 runs-on : windows-latest
129- needs : [build_macos_13, build_macos_14 , build_windows_32, build_linux, build_linux_arm64]
126+ needs : [build_macos_intel, build_macos_arm , build_windows_32, build_linux, build_linux_arm64]
130127 steps :
131128 - uses : actions/checkout@v4
132129 - name : Build HiGHS Windows native
@@ -142,10 +139,10 @@ jobs:
142139 working-directory : ${{runner.workspace}}/build
143140 shell : bash
144141 run : cmake --build . --config Release --parallel
145-
142+
146143 - name : Display structure of downloaded files
147144 run : |
148- pwd
145+ pwd
149146 ls -R ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
150147
151148 - name : Download runtimes macos-x64
@@ -187,7 +184,7 @@ jobs:
187184
188185 - name : Dotnet pack
189186 working-directory : ${{runner.workspace}}/build/dotnet/Highs.Native
190- run : dotnet pack -c Release /p:Version=1.11 .0
187+ run : dotnet pack -c Release /p:Version=1.12 .0
191188
192189 - uses : actions/upload-artifact@v4
193190 with :
@@ -201,7 +198,7 @@ jobs:
201198 name : nuget
202199
203200 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
204- steps :
201+ steps :
205202 - uses : actions/checkout@v4
206203 - uses : actions/setup-dotnet@v4
207204
@@ -211,6 +208,6 @@ jobs:
211208 name : nuget
212209
213210 - name : Dotnet push
214- run : dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
211+ run : dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
215212 # env:
216213 # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments