Skip to content

Commit 9fa8db6

Browse files
authored
Merge pull request #2604 from ERGO-Code/new-v
New version!
2 parents a268d89 + 5bb8857 commit 9fa8db6

File tree

13 files changed

+108
-110
lines changed

13 files changed

+108
-110
lines changed

.github/workflows/build-nuget-package.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
name: macos-x64
3030
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
31-
31+
3232
# Build macos arm64
3333
build_macos_arm:
3434
runs-on: macos-14 # macos-14 is arm64
@@ -51,14 +51,14 @@ jobs:
5151
name: macos-arm64
5252
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
5353

54-
# Build windows 32 and linux
54+
# Build windows 32 and linux
5555
build_windows_32:
5656
runs-on: windows-latest
5757
steps:
5858
- uses: actions/checkout@v4
5959
- name: Build HiGHS
6060
run: |
61-
cmake -E make_directory ${{runner.workspace}}/build32
61+
cmake -E make_directory ${{runner.workspace}}/build32
6262
6363
- name: Configure CMake win32
6464
shell: bash
@@ -139,10 +139,10 @@ jobs:
139139
working-directory: ${{runner.workspace}}/build
140140
shell: bash
141141
run: cmake --build . --config Release --parallel
142-
142+
143143
- name: Display structure of downloaded files
144144
run: |
145-
pwd
145+
pwd
146146
ls -R ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
147147
148148
- name: Download runtimes macos-x64
@@ -184,7 +184,7 @@ jobs:
184184

185185
- name: Dotnet pack
186186
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
187-
run: dotnet pack -c Release /p:Version=1.11.0
187+
run: dotnet pack -c Release /p:Version=1.12.0
188188

189189
- uses: actions/upload-artifact@v4
190190
with:
@@ -198,7 +198,7 @@ jobs:
198198
name: nuget
199199

200200
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
201-
steps:
201+
steps:
202202
- uses: actions/checkout@v4
203203
- uses: actions/setup-dotnet@v4
204204

@@ -208,6 +208,6 @@ jobs:
208208
name: nuget
209209

210210
- name: Dotnet push
211-
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
212212
# env:
213213
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-nuget-macos.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434

3535
- name: Dotnet pack
3636
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
37-
run: dotnet pack -c Release /p:Version=1.11.0
37+
run: dotnet pack -c Release /p:Version=1.12.0
3838

39-
- name: Add local feed
39+
- name: Add local feed
4040
run: dotnet nuget add source ${{runner.workspace}}/nugets
4141

4242
- name: Dotnet push to local feed
@@ -48,12 +48,12 @@ jobs:
4848
working-directory: ${{runner.workspace}}/test_nuget
4949
run: |
5050
dotnet new console
51-
rm Program.cs
52-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
51+
rm Program.cs
52+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
5454
dotnet run
5555
56-
56+
5757
build_macos_arm:
5858
runs-on: macos-14 # macos-14 is arm64
5959
steps:
@@ -78,9 +78,9 @@ jobs:
7878

7979
- name: Dotnet pack
8080
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
81-
run: dotnet pack -c Release /p:Version=1.11.0
81+
run: dotnet pack -c Release /p:Version=1.12.0
8282

83-
- name: Add local feed
83+
- name: Add local feed
8484
run: dotnet nuget add source ${{runner.workspace}}/nugets
8585

8686
- name: Dotnet push to local feed
@@ -92,7 +92,7 @@ jobs:
9292
working-directory: ${{runner.workspace}}/test_nuget
9393
run: |
9494
dotnet new console
95-
rm Program.cs
96-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
97-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
95+
rm Program.cs
96+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
97+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
9898
dotnet run

.github/workflows/test-nuget-package.yml

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434

3535
- name: Dotnet pack
3636
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
37-
run: dotnet pack -c Release /p:Version=1.11.0
37+
run: dotnet pack -c Release /p:Version=1.12.0
3838

39-
- name: Add local feed
39+
- name: Add local feed
4040
run: dotnet nuget add source ${{runner.workspace}}/nugets
4141

4242
- name: Dotnet push to local feed
@@ -48,13 +48,11 @@ jobs:
4848
working-directory: ${{runner.workspace}}/test_nuget
4949
run: |
5050
dotnet new console
51-
rm Program.cs
52-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
51+
rm Program.cs
52+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
5454
dotnet run
5555
56-
57-
5856
build_macos_arm:
5957
runs-on: macos-14 # macos-14 is arm64
6058
steps:
@@ -79,9 +77,9 @@ jobs:
7977

8078
- name: Dotnet pack
8179
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
82-
run: dotnet pack -c Release /p:Version=1.11.0
80+
run: dotnet pack -c Release /p:Version=1.12.0
8381

84-
- name: Add local feed
82+
- name: Add local feed
8583
run: dotnet nuget add source ${{runner.workspace}}/nugets
8684

8785
- name: Dotnet push to local feed
@@ -93,9 +91,9 @@ jobs:
9391
working-directory: ${{runner.workspace}}/test_nuget
9492
run: |
9593
dotnet new console
96-
rm Program.cs
97-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
98-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
94+
rm Program.cs
95+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
96+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
9997
dotnet run
10098
10199
build_linux:
@@ -123,9 +121,9 @@ jobs:
123121

124122
- name: Dotnet pack
125123
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
126-
run: dotnet pack -c Release /p:Version=1.11.0
124+
run: dotnet pack -c Release /p:Version=1.12.0
127125

128-
- name: Add local feed
126+
- name: Add local feed
129127
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
130128

131129
- name: Dotnet push to local feed
@@ -137,9 +135,9 @@ jobs:
137135
working-directory: /__w/HiGHS/HiGHS/test_nuget
138136
run: |
139137
dotnet new console
140-
rm Program.cs
141-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
142-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
138+
rm Program.cs
139+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
140+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
143141
dotnet run
144142
145143
build_linux_8:
@@ -167,9 +165,9 @@ jobs:
167165

168166
- name: Dotnet pack
169167
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
170-
run: dotnet pack -c Release /p:Version=1.11.0
168+
run: dotnet pack -c Release /p:Version=1.12.0
171169

172-
- name: Add local feed
170+
- name: Add local feed
173171
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
174172

175173
- name: Dotnet push to local feed
@@ -181,9 +179,9 @@ jobs:
181179
working-directory: /__w/HiGHS/HiGHS/test_nuget
182180
run: |
183181
dotnet new console
184-
rm Program.cs
185-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
186-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
182+
rm Program.cs
183+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
184+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
187185
dotnet run
188186
189187
build_windows:
@@ -205,17 +203,17 @@ jobs:
205203
shell: bash
206204
working-directory: ${{runner.workspace}}/build
207205
run: cmake --build . --config Release --parallel
208-
206+
209207
- uses: actions/setup-dotnet@v4
210208
with:
211209
dotnet-version: '6.0.x'
212210

213211
- name: Dotnet pack
214212
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
215-
run: dotnet pack -c Release /p:Version=1.11.0
213+
run: dotnet pack -c Release /p:Version=1.12.0
216214

217-
- name: Add local feed
218-
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
215+
- name: Add local feed
216+
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
219217

220218
- name: Dotnet push to local feed
221219
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
@@ -226,7 +224,7 @@ jobs:
226224
working-directory: ${{runner.workspace}}/test_nuget
227225
run: |
228226
dotnet new console
229-
rm Program.cs
230-
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
231-
dotnet add package Highs.Native -v 1.11.0 -s ${{runner.workspace}}\nugets
227+
rm Program.cs
228+
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
229+
dotnet add package Highs.Native -v 1.12.0 -s ${{runner.workspace}}\nugets
232230
dotnet run

.github/workflows/test-nuget-ubuntu.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232

3333
- name: Dotnet pack
3434
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
35-
run: dotnet pack -c Release /p:Version=1.11.0
35+
run: dotnet pack -c Release /p:Version=1.12.0
3636

37-
- name: Add local feed
37+
- name: Add local feed
3838
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
3939

4040
- name: Dotnet push to local feed
@@ -46,9 +46,9 @@ jobs:
4646
working-directory: /__w/HiGHS/HiGHS/test_nuget
4747
run: |
4848
dotnet new console
49-
rm Program.cs
50-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
51-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
49+
rm Program.cs
50+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
51+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
5252
dotnet run
5353
5454
build_linux_8:
@@ -76,9 +76,9 @@ jobs:
7676

7777
- name: Dotnet pack
7878
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
79-
run: dotnet pack -c Release /p:Version=1.11.0
79+
run: dotnet pack -c Release /p:Version=1.12.0
8080

81-
- name: Add local feed
81+
- name: Add local feed
8282
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
8383

8484
- name: Dotnet push to local feed
@@ -90,9 +90,9 @@ jobs:
9090
working-directory: /__w/HiGHS/HiGHS/test_nuget
9191
run: |
9292
dotnet new console
93-
rm Program.cs
94-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
95-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
93+
rm Program.cs
94+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
95+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
9696
dotnet run
9797
9898

.github/workflows/test-nuget-win.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626
shell: bash
2727
working-directory: ${{runner.workspace}}/build
2828
run: cmake --build . --config Release --parallel
29-
29+
3030
- uses: actions/setup-dotnet@v4
3131
with:
3232
dotnet-version: '6.0.x'
3333

3434
- name: Dotnet pack
3535
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
36-
run: dotnet pack -c Release /p:Version=1.11.0
36+
run: dotnet pack -c Release /p:Version=1.12.0
3737

38-
- name: Add local feed
38+
- name: Add local feed
3939
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
4040

4141
- name: Dotnet push to local feed
@@ -47,7 +47,7 @@ jobs:
4747
working-directory: ${{runner.workspace}}/test_nuget
4848
run: |
4949
dotnet new console
50-
rm Program.cs
50+
rm Program.cs
5151
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
52-
dotnet add package Highs.Native -v 1.11.0 -s ${{runner.workspace}}\nugets
52+
dotnet add package Highs.Native -v 1.12.0 -s ${{runner.workspace}}\nugets
5353
dotnet run

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
module(
44
name = "highs",
5-
version = "1.11.0",
5+
version = "1.12.0",
66
)
77

88
bazel_dep(

0 commit comments

Comments
 (0)