Skip to content

experiment with github actions #12

experiment with github actions

experiment with github actions #12

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
build-mex:
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
with:
fetch-depth: 0
- name: Remove old MEX files
shell: bash
run: rm Solver/Mexfun/*.mex* Solver/Mexfun/*/*.mex*
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v2
if: matrix.os != 'macos-14'
with:
release: R2021a
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v2
if: matrix.os == 'macos-14'
with:
release: R2023b
- name: Build MEX files
uses: matlab-actions/run-command@v2
with:
command: install_sdpt3 -rebuild