solver-tests #108
Workflow file for this run
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: solver-tests | |
on: | |
workflow_dispatch: | |
# needed to allow julia-actions/cache to delete old caches that it has created | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
test-ubuntu: | |
name: ${{ matrix.package }} | |
runs-on: ubuntu-latest | |
env: | |
PACKAGE: ${{ matrix.package }} | |
XPRESS_JL_SKIP_LIB_CHECK: "true" | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- package: 'JuMP' | |
- package: 'Convex' | |
- package: 'AmplNLWriter' | |
# - package: 'BARON' | |
- package: 'Cbc' | |
- package: 'Clp' | |
# - package: 'CPLEX' | |
- package: 'CSDP' | |
- package: 'DiffOpt' | |
- package: 'Dualization' | |
- package: 'ECOS' | |
- package: 'GLPK' | |
- package: 'HiGHS' | |
- package: 'Hypatia' | |
- package: 'Ipopt' | |
# - package: 'KNITRO' | |
- package: 'MiniZinc' | |
- package: 'MosekTools' | |
- package: 'MultiObjectiveAlgorithms' | |
- package: 'Pajarito' | |
- package: 'ParametricOptInterface' | |
- package: 'Pavito' | |
- package: 'PolyJuMP' | |
- package: 'SCS' | |
- package: 'SDPA' | |
# - package: 'SDPLR' | |
# - package: 'SDPNAL' | |
# - package: 'SDPT3' | |
# - package: 'SeduMi' | |
- package: 'SumOfSquares' | |
- package: 'Xpress' | |
# External packages | |
- package: 'Alpine' | |
- package: 'BilevelJuMP' | |
- package: 'CDDLib' | |
- package: 'Clarabel' | |
- package: 'COPT' | |
- package: 'COSMO' | |
- package: 'DAQP' | |
- package: 'DisjunctiveProgramming' | |
- package: 'DSDP' | |
- package: 'EAGO' | |
- package: 'InfiniteOpt' | |
- package: 'Juniper' | |
- package: 'LinearFractional' | |
- package: 'Loraine' | |
- package: 'MathOptSetDistances' | |
- package: 'NEOSServer' | |
- package: 'NLopt' | |
- package: 'OSQP' | |
- package: 'PATHSolver' | |
- package: 'Percival' | |
- package: 'Plasmo' | |
- package: 'PowerModels' | |
- package: 'ProxSDP' | |
- package: 'SCIP' | |
- package: 'SDDP' | |
- package: 'SetProg' | |
- package: 'SparseVariables' | |
- package: 'SDPAFamily' | |
- package: 'Tulip' | |
- package: 'UnitJuMP' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: Test | |
shell: julia --color=yes {0} | |
run: | | |
import Pkg | |
Pkg.develop(Pkg.PackageSpec(; path = pwd())) | |
Pkg.develop(ENV["PACKAGE"]) | |
Pkg.test(ENV["PACKAGE"]) | |
test-cplex: | |
name: ${{ matrix.package }} | |
runs-on: ubuntu-latest | |
env: | |
PACKAGE: ${{ matrix.package }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- package: 'CPLEX' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: Test | |
shell: julia --color=yes {0} | |
env: | |
CPLEX_VERSION: '2210' | |
SECRET_CPLEX_URL_2210: ${{ secrets.SECRET_CPLEX_URL_2210 }} | |
run: | | |
import Pkg | |
Pkg.develop(Pkg.PackageSpec(; path = pwd())) | |
Pkg.develop(ENV["PACKAGE"]) | |
Pkg.test(ENV["PACKAGE"]) | |
test-gurobi: | |
name: Gurobi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v1 | |
- shell: bash | |
env: | |
WLSLICENSE: ${{ secrets.WLSLICENSE }} | |
run: | | |
mkdir -p /opt/gurobi | |
echo "$WLSLICENSE" > /opt/gurobi/gurobi.lic | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: Test | |
shell: julia --color=yes {0} | |
run: | | |
import Pkg | |
Pkg.develop(Pkg.PackageSpec(; path = pwd())) | |
Pkg.develop("Gurobi") | |
Pkg.test("Gurobi") | |