Working version of #1410 Support nonlinearities in Gurobi #287
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: Globlib regression test | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
workflow_dispatch: | |
jobs: | |
job1: | |
name: Run nonconvex QP | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout tools repo | |
uses: actions/checkout@v2 | |
with: | |
repository: sqlp/sedumi | |
path: sedumi | |
- name: Setup MATLAB | |
uses: matlab-actions/setup-matlab@v0 | |
with: | |
release: R2020a | |
- name: Nonconvex QP | |
uses: matlab-actions/run-command@v0 | |
with: | |
command: addpath(genpath(pwd));warning off; results = runxunittests('dev/tests/globlib/qp'); assertSuccess(results); | |
- name: QP report | |
uses: dorny/[email protected] | |
if: success() || failure() | |
with: | |
name: Report (nonconvex QP) | |
path: qp.xml | |
reporter: java-junit | |
job2: | |
name: Run nonconvex QCQP | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout tools repo | |
uses: actions/checkout@v2 | |
with: | |
repository: sqlp/sedumi | |
path: sedumi | |
- name: Setup MATLAB | |
uses: matlab-actions/setup-matlab@v0 | |
with: | |
release: R2020a | |
- name: Nonconvex QCQP | |
uses: matlab-actions/run-command@v0 | |
with: | |
command: addpath(genpath(pwd));warning off; results = runxunittests('dev/tests/globlib/qcqp'); assertSuccess(results); | |
- name: QCQP report | |
uses: dorny/[email protected] | |
if: success() || failure() | |
with: | |
name: Report (QCQP) | |
path: qcqp.xml | |
reporter: java-junit | |
job3: | |
name: Run polynomial | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout tools repo | |
uses: actions/checkout@v2 | |
with: | |
repository: sqlp/sedumi | |
path: sedumi | |
- name: Setup MATLAB | |
uses: matlab-actions/setup-matlab@v0 | |
with: | |
release: R2020a | |
- name: Polynomial | |
uses: matlab-actions/run-command@v0 | |
with: | |
command: addpath(genpath(pwd));warning off; results = runxunittests('dev/tests/globlib/polynomial'); assertSuccess(results); | |
- name: Polynomial report | |
uses: dorny/[email protected] | |
if: success() || failure() | |
with: | |
name: Report (polynomial) | |
path: polynomial.xml | |
reporter: java-junit | |
job4: | |
name: Run general nonlinear | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout tools repo | |
uses: actions/checkout@v2 | |
with: | |
repository: sqlp/sedumi | |
path: sedumi | |
- name: Setup MATLAB | |
uses: matlab-actions/setup-matlab@v0 | |
with: | |
release: R2020a | |
- name: General nonlinear | |
uses: matlab-actions/run-command@v0 | |
with: | |
command: addpath(genpath(pwd));warning off; results = runxunittests('dev/tests/globlib/general'); assertSuccess(results); | |
- name: General nonlinear report | |
uses: dorny/[email protected] | |
if: success() || failure() | |
with: | |
name: Report (general nonlinear) | |
path: general.xml | |
reporter: java-junit |