Skip to content

Commit

Permalink
Don't build Julia when testing simple packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Nov 22, 2023
1 parent a1cfb9d commit 629568e
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 629568e

Please sign in to comment.