Skip to content

Commit

Permalink
bump to ubuntu 22 / Octave 6 for building
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg1969 committed Apr 10, 2024
1 parent 83df6f2 commit 8685277
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04,windows-2019,macos-12,macos-14]
os: [ubuntu-22.04,windows-2019,macos-12,macos-14]
steps:
- name: Retrieve the source code
uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04,windows-2019,macos-12,macos-14]
os: [ubuntu-22.04,windows-2019,macos-12,macos-14]
steps:
- name: Retrieve the source code
uses: actions/checkout@v4
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Install Octave
shell: bash
run: |
if [ "${{ matrix.os }}" = ubuntu-20.04 ]; then
if [ "${{ matrix.os }}" = ubuntu-22.04 ]; then
sudo apt update
sudo apt install --no-install-recommends octave liboctave-dev libopenblas-dev
elif [ "${{ matrix.os }}" = windows-2019 ]; then
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SeDuMi: Optimization over symmetric cones

#### [Click here](https://github.com/sqlp/sedumi/releases/latest) to download the latest SeDuMi bundle. These bundles now include pre-compiled MATLAB and Octave MEX files files for Windows, Linux, and macOS (Intel and Apple Silicon).

**SeDuMi (Self-Dual-Minimization)** is a Matlab/GNU Octave package for solving
convex optimization problems involving linear equations and inequalities,
second-order cone constraints, and semidefinite constraints (linear matrix
Expand Down Expand Up @@ -89,3 +91,17 @@ You are welcome to submit bug reports or request for help on the
[GitHub issue page](https://github.com/sqlp/sedumi/issues).
We cannot guarantee that they will be addressed in a timely fashion,
we will do our best.

### Development notes

As of April 2024, this repository uses
[GitHub Actions](https://github.com/features/actions) to compile
MEX files for Linux, Windows, and macOS (both Intel and Apple
Silicon variants). Whenever a new Git tag is pushed to the
repository, these actions automatically create `.zip` and `.tgz`
bundles of that version of the code, including those compiled
MEX files, and publishes those bundles to the
[Releases](https://github.com/sqlp/sedumi/releases) page.

If you wish to contribute fixes or improvements to this repository, please feel free to submit a
[pull request](https://github.com/sqlp/sedumi/pulls).
2 changes: 1 addition & 1 deletion install_sedumi.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function install_sedumi( varargin )
case 'x86_64-w64-mingw32'
mdir = 'o_win';
otherwise
error(sprintf('Unexpected computer type: %s', COMPUTER))
error(sprintf('Unexpected computer type: %s', COMPUTER));
end
else
prog = 'Matlab';
Expand Down

0 comments on commit 8685277

Please sign in to comment.