Remove macos-10.15, add macos-13. #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# controls when action will run | |
on: | |
# triggers workflow on push events | |
push: | |
# allows workflow to be triggered manually from Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-11, macos-12, macos-13, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Install Octave (Linux) | |
if: startsWith(matrix.os, 'ubuntu') | |
uses: MATPOWER/action-install-octave-linux@v1 | |
- name: Install Octave (macOS) | |
if: startsWith(matrix.os, 'macos') | |
uses: MATPOWER/action-install-octave-macos@v1 | |
- name: Octave ${{ env.ML_VER }} Installed | |
run: $ML_CMD ver | |
- name: Install OSQP interface for Octave | |
uses: ./. | |
- name: Test OSQP availability, print version number | |
run: | | |
export OSQP_TEST_PATH=${GITHUB_WORKSPACE}/.github/osqp | |
env $ML_PATHVAR=$OSQP_TEST_PATH $ML_CMD "if ~have_feature_osqp(), exit(1); end" | |
env $ML_PATHVAR=$OSQP_TEST_PATH $ML_CMD "[~, vstr] = have_feature_osqp(); fprintf('Version %s\n', vstr);" | |
ls -al $OSQP_PATH |