enable precompilation on nightly

This commit is contained in:
t-bltg 2022-01-28 11:50:44 +01:00
parent 3e8db4532b
commit 264ddebd1e
3 changed files with 10 additions and 6 deletions

View File

@ -21,8 +21,9 @@ jobs:
fail-fast: false
matrix:
version: # NOTE: the versions below should match those in your botconfig
- '1.6' # ⎤
- '1.7' # ⎦ <<< keep these versions in sync with deps/SnoopCompile/snoop_bot_config.jl
- '1.6' # ⎤
- '1.7' # |
- 'nightly' # ⎦ <<< keep these versions in sync with deps/SnoopCompile/snoop_bot_config.jl
os: # NOTE: should match the os setting of your botconfig
- ubuntu-latest
arch:

View File

@ -2,6 +2,6 @@ using CompileBot
botconfig = BotConfig(
"Plots",
version = [v"1.6", v"1.7"], # <<< keep versions in sync with .github/workflows/SnoopCompile.yml
# else_version = v"1.8",
version = [v"1.6", v"1.7"], # <<< keep versions in sync with .github/workflows/CompileBot.yml
else_version = "nightly",
)

View File

@ -1,5 +1,4 @@
#! format: off
should_precompile = true
should_precompile = false
# Don't edit the following! Instead change the script for `snoop_bot`.
@ -25,6 +24,10 @@ elseif v"1.7.0-DEV" <= VERSION <= v"1.7.9"
_precompile_()
end
else
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.8/precompile_Plots.jl"))
include("../deps/SnoopCompile/precompile//1.8/precompile_Plots.jl")
_precompile_()
end
end
end # precompile_enclosure