Skip to content

Commit

Permalink
fix CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
frapac committed Jun 6, 2022
1 parent b4041c0 commit 498acf8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .ci/ci.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Pkg.activate(@__DIR__)


if ARGS[1] == "full"
pkgs = ["MadNLP","MadNLPHSL","MadNLPPardiso","MadNLPMumps","MadNLPKrylov"]
pkgs = ["MadNLPHSL","MadNLPPardiso","MadNLPMumps","MadNLPKrylov"]
elseif ARGS[1] == "basic"
pkgs = ["MadNLP","MadNLPMumps","MadNLPKrylov"]
pkgs = ["MadNLPMumps","MadNLPKrylov"]
elseif ARGS[1] == "cuda"
pkgs = ["MadNLPGPU"]
else
Expand All @@ -22,4 +22,7 @@ Pkg.develop(PackageSpec(path=joinpath(@__DIR__,"..","lib","MadNLPTests")))
Pkg.develop.([PackageSpec(path=joinpath(@__DIR__,"..","lib",pkg)) for pkg in pkgs])
Pkg.build()

if ARGS[1] == "full" || ARGS[1] == "basic"
Pkg.test("MadNLP", coverage=true)
end
Pkg.test.(pkgs, coverage=true)

0 comments on commit 498acf8

Please sign in to comment.