Skip to content

Use Gurobi_jll for binaries #225

Use Gurobi_jll for binaries

Use Gurobi_jll for binaries #225

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: 'Gurobi'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['1.6', '1']
os: ['ubuntu-latest']
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: 'x64'
- 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
# - uses: julia-actions/julia-runtest@v1
- name: Test
shell: julia --color=yes --project=. {0}
run: |
import Pkg
Pkg.pkg"add https://github.com/jump-dev/Gurobi_jll.jl"
Pkg.test()
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info