Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Jun 23, 2024
1 parent 5de46f8 commit 584e263
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
arch: [x64]
# If updating most recent version, change shell script below
XPRESS_JLL_VERSION: ['8.13.4', '9.3.0']
XPRESS_JLL_VERSION: ['8.14.0', '9.4.1']
include:
- version: '1'
os: macos-14
arch: aarch64
XPRESS_JLL_VERSION: '9.3.0'
XPRESS_JLL_VERSION: '9.4.1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand All @@ -37,12 +37,13 @@ jobs:
XPRESS_JL_SKIP_LIB_CHECK: "true"
- shell: julia --project=. --color=yes {0}
run: |
LATEST_VERSION = "9.4.1"
import Pkg
Pkg.add(; name = "Xpress_jll", version = "9.3.0")
Pkg.add(; name = "Xpress_jll", version = LATEST_VERSION)
import Xpress_jll
# Older licenses may have expired. Copy 9.3.0 license to cwd and then
# Older licenses may have expired. Copy license to cwd and then
# install specific version.
if ENV["XPRESS_JLL_VERSION"] != "9.3.0"
if ENV["XPRESS_JLL_VERSION"] != LATEST_VERSION
license_dir = joinpath(dirname(dirname(Xpress_jll.libxprs)), "license")
cp(joinpath(license_dir, "community-xpauth.xpr"), "xpauth.xpr")
Pkg.add(; name = "Xpress_jll", version = ENV["XPRESS_JLL_VERSION"])
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
Libdl = "<0.0.1, 1.6"
MathOptInterface = "1.26"
Test = "<0.0.1, 1.6"
Xpress_jll = "=8.13.4, ~9"
Xpress_jll = "~8.13, ~9"
julia = "1.6"

[extras]
Expand Down

0 comments on commit 584e263

Please sign in to comment.