Skip to content

Commit

Permalink
Don't build Julia when testing simple packages. (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Nov 23, 2023
1 parent a1cfb9d commit 1963a77
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/jobs/PkgEvalJob.jl
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,12 @@ function PkgEvalJob(submission::JobSubmission)
subdir = ""
end

configuration = Configuration(buildflags=["LLVM_ASSERTIONS=1", "FORCE_ASSERTIONS=1"];
rr=(isdaily ? PkgEval.RREnabledOnRetry : PkgEval.RRDisabled),
name="primary")
if jobtype == PkgEvalTypePackage
configuration = Configuration(configuration; julia="stable")
configuration = if jobtype == PkgEvalTypePackage
Configuration(name="primary", julia="stable")
else
Configuration(buildflags=["LLVM_ASSERTIONS=1", "FORCE_ASSERTIONS=1"],
rr=(isdaily ? PkgEval.RREnabledOnRetry : PkgEval.RRDisabled),
name="primary")
end
if haskey(submission.kwargs, :configuration)
expr = Meta.parse(submission.kwargs[:configuration])
Expand All @@ -201,10 +202,11 @@ function PkgEvalJob(submission::JobSubmission)
configuration = Configuration(configuration; tup...)
end

against_configuration = Configuration(buildflags=["LLVM_ASSERTIONS=1", "FORCE_ASSERTIONS=1"];
name="against")
if jobtype == PkgEvalTypePackage
against_configuration = Configuration(against_configuration; julia="stable")
against_configuration = if jobtype == PkgEvalTypePackage
Configuration(name="against", julia="stable")
else
Configuration(buildflags=["LLVM_ASSERTIONS=1", "FORCE_ASSERTIONS=1"],
name="against")
end
if haskey(submission.kwargs, :vs_configuration)
expr = Meta.parse(submission.kwargs[:vs_configuration])
Expand Down

0 comments on commit 1963a77

Please sign in to comment.