Skip to content

Commit

Permalink
Merge pull request #46 from osqp/im/windowsci
Browse files Browse the repository at this point in the history
  • Loading branch information
imciner2 authored Apr 1, 2022
2 parents b98f166 + 0b93c3a commit cc1dbb8
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ on: [push, pull_request]

jobs:
build:
# As of August 30, 2021 Matlab isn't able to be used on Windows or macOS on GitHub shared runners
# (it errors saying the dependencies aren't available on those platforms). Instead we can only
# test on ubuntu-latest. The matrix below is preserved here in case Matlab support is added
# to those other platforms.
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]

# runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
# As of January 19, 2022, the MATLAB action has undocumented support for Windows and MacOS shared runners
# (https://github.com/matlab-actions/setup-matlab/issues/18#issuecomment-1006990188). This is in version
# 1.1.0 of the action, and only provides the bare Matlab and Simulink products with no toolboxes.
#
# Lock the Windows version to 2019 because the 2022 image doesn't include a supported compiler for the
# available MATLAB version (https://github.com/matlab-actions/setup-matlab/issues/29#issuecomment-1048390901).
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]

runs-on: ${{ matrix.os }}

steps:
- name: Check out repository
Expand All @@ -41,5 +42,5 @@ jobs:
uses: mikepenz/action-junit-report@v2
with:
fail_on_failure: true
check_name: Test results
check_name: Test results - ${{ matrix.os }}
report_paths: 'test-results/**/*.xml'

0 comments on commit cc1dbb8

Please sign in to comment.