Skip to content

Commit 06ed5d1

Browse files
authored
Merge pull request #2563 from ERGO-Code/pr-2555
PR 2555 plus CI update
2 parents 9591f8a + d9337bf commit 06ed5d1

File tree

9 files changed

+30
-37
lines changed

9 files changed

+30
-37
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ concurrency:
77
cancel-in-progress: true
88

99
jobs:
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
@@ -32,9 +29,9 @@ jobs:
3229
name: macos-x64
3330
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
3431

35-
# macos 14 is M1
36-
build_macos_14:
37-
runs-on: macos-14
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
@@ -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

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@ jobs:
132132
python3 -m pip install pytest
133133
python3 -m pytest $GITHUB_WORKSPACE
134134
135-
# macos 13 is Intel
136-
build_wheel_macos_13:
137-
runs-on: macos-13
135+
build_wheel_macos_intel:
136+
runs-on: macos-15-intel
138137
strategy:
139138
matrix:
140139
python: [3.11]
@@ -163,9 +162,8 @@ jobs:
163162
python3 -m pip install pytest
164163
python3 -m pytest $GITHUB_WORKSPACE
165164
166-
# macos 14 is M1
167-
build_wheel_macos_14:
168-
runs-on: macos-14
165+
build_wheel_macos_arm:
166+
runs-on: macos-14 # macos-14 is arm64
169167
strategy:
170168
matrix:
171169
python: [3.11]

.github/workflows/build-wheels-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test
5050
- [ubuntu-24.04, musllinux_i686]
5151
- [ubuntu-24.04-arm, musllinux_aarch64]
52-
- [macos-13, macosx_x86_64]
52+
- [macos-15-intel, macosx_x86_64]
5353
- [macos-14, macosx_arm64]
5454
- [windows-2022, win_amd64]
5555
- [windows-2022, win32]

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test
3939
- [ubuntu-24.04, musllinux_i686]
4040
- [ubuntu-24.04-arm, musllinux_aarch64]
41-
- [macos-13, macosx_x86_64]
41+
- [macos-15-intel, macosx_x86_64]
4242
- [macos-14, macosx_arm64]
4343
- [windows-2022, win_amd64]
4444
- [windows-2022, win32]

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ on: [push, pull_request]
44

55
jobs:
66
fast_build_release:
7-
runs-on: [macos-13]
7+
runs-on: [macos-15-intel]
88

99

1010
steps:
1111
- uses: actions/checkout@v4
1212

13-
- uses: fortran-lang/setup-fortran@v1.6
13+
- uses: fortran-lang/setup-fortran@v1.8
1414
id: setup-fortran
1515
with:
1616
compiler: gcc
17-
version: 11
17+
version: 14
1818

1919
# - name: Install GFortran
2020
# run: brew install gfortran gcc
@@ -27,8 +27,8 @@ jobs:
2727
working-directory: ${{runner.workspace}}/build
2828
run: |
2929
cmake --version
30-
gfortran-11 --version
31-
cmake $GITHUB_WORKSPACE -DFORTRAN=ON
30+
gfortran-14 --version
31+
cmake $GITHUB_WORKSPACE -DFORTRAN=ON -DCMAKE_Fortran_COMPILER=gfortran-14
3232
3333
- name: Build
3434
shell: bash

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ concurrency:
77
cancel-in-progress: true
88

99
jobs:
10-
# macos 13 is Intel
11-
build_macos_13:
12-
runs-on: macos-13
10+
build_macos_intel:
11+
runs-on: macos-15-intel
1312
# strategy:
1413
# matrix:
1514
# python: [3.11]
@@ -55,9 +54,8 @@ jobs:
5554
dotnet run
5655
5756
58-
# macos 14 is M1
59-
build_macos_14:
60-
runs-on: macos-14
57+
build_macos_arm:
58+
runs-on: macos-14 # macos-14 is arm64
6159
steps:
6260
- uses: actions/checkout@v4
6361
- name: Build HiGHS

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ concurrency:
77
cancel-in-progress: true
88

99
jobs:
10-
# macos 13 is Intel
11-
build_macos_13:
12-
runs-on: macos-13
10+
build_macos_intel:
11+
runs-on: macos-15-intel
1312
# strategy:
1413
# matrix:
1514
# python: [3.11]
@@ -56,9 +55,8 @@ jobs:
5655
5756
5857
59-
# macos 14 is M1
60-
build_macos_14:
61-
runs-on: macos-14
58+
build_macos_arm:
59+
runs-on: macos-14 # macos-14 is arm64
6260
steps:
6361
- uses: actions/checkout@v4
6462
- name: Build HiGHS

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ As an alternative, HiGHS can be installed using the `meson` build interface:
8484
meson setup bbdir -Dwith_tests=True
8585
meson test -C bbdir
8686
```
87-
_The meson build files are provided by the community and are not officially supported by the HiGHS development team._
87+
_The meson build files are provided by the community and are not officially supported by the HiGHS development team._ **If you use this method and encounter issues, please consider contributing fixes or updates by checking the [HiGHS Contribution Guide](https://github.com/ERGO-Code/HiGHS/blob/master/CONTRIBUTING.md).**
8888

8989
#### Build with Nix
9090

docs/src/interfaces/other.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ including [pre-build libraries](https://github.com/coin-or/GAMSlinks/releases).
2424

2525
## MATLAB
2626

27-
* [HiGHSMEX](https://github.com/savyasachi/HiGHSMEX) is a MATLAB interface for Windows to provide all the functionality of HiGHS, except the following: Reading problem data from a model file; Setting names for the rows and columns of the model, or setting name for the objective; Advanced features such as solution of systems using the current basis matrix.
27+
* [HiGHSMEX](https://github.com/savyasachi/HiGHSMEX) is a MATLAB interface that provides all the functionality of HiGHS, except the following: Reading problem data from a model file; Setting names for the rows and columns of the model, or setting name for the objective; Advanced features such as solution of systems using the current basis matrix.
28+
29+
The interface is avalailable for Windows, MacOS and Linux, and has been tested on Windows and MacOS. Pre-built binaries (mex files) for Windows and MacOS are available in the repository, which also includes instructions for building from source in [README.md](https://github.com/savyasachi/HiGHSMEX/blob/main/README.md).
2830

2931
* The HiGHS MIP and dual simplex LP solvers have been used _within_ MATLAB (so for all architectures) by default since release 2024a.
3032

0 commit comments

Comments
 (0)