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 584e263 commit 6c331c4
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,10 @@ 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 = LATEST_VERSION)
import Xpress_jll
# Older licenses may have expired. Copy license to cwd and then
# install specific version.
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"])
end
write("xpauth.xpr", ENV["XPRESS_JL_COMMUNITY_XPAUTH_XPR"])
Pkg.add(; name = "Xpress_jll", version = ENV["XPRESS_JLL_VERSION"])
env:
XPRESS_JL_COMMUNITY_XPAUTH_XPR: ${{ secrets.XPRESS_JL_COMMUNITY_XPAUTH_XPR }}
XPRESS_JLL_VERSION: ${{ matrix.XPRESS_JLL_VERSION }}
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand Down

0 comments on commit 6c331c4

Please sign in to comment.