Skip to content

Commit

Permalink
use an older release
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg1969 committed Apr 9, 2024
1 parent 0044d6f commit bd77761
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,54 @@ on:
branches:
- master
jobs:
build-mex:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest,windows-latest,macos-latest,macos-14]
steps:
- name: Retrieve the source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Remove old MEX files
shell: bash
run: rm Solver/Mexfun/*.mex* Solver/Mexfun/*/*.mex*
run: rm Solver/Mexfun/*.mex*
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.os == 'macos-14' && 'R2023b' || ( matrix.os == 'windows-latest' && 'R2021b' || 'R2021a' ) }}
- name: Build MEX files
uses: matlab-actions/run-command@v2
with:
command: install_sdpt3 -rebuild
- uses: actions/upload-artifact@v4
with:
name: mexfiles-${{ matrix.os }}
path: |
Solver/Mexfun/*.mex*
package:
needs: build
runs-on: ubuntu-latest
steps:
- name: Retrieve the source code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/download-artifact@v4
with:
name: mexfiles-ubuntu-latest
- uses: actions/download-artifact@v4
with:
name: mexfiles-windows-latest
- uses: actions/download-artifact@v4
with:
name: mexfiles-macos-latest
- uses: actions/download-artifact@v4
with:
name: mexfiles-macos-14
- name: Show files
run: |
mv *.mex* Solver/Mexfun/
find . -path './git*' -prune -o -print

0 comments on commit bd77761

Please sign in to comment.