enable precompilation on nightly
This commit is contained in:
parent
3e8db4532b
commit
264ddebd1e
5
.github/workflows/CompileBot.yml
vendored
5
.github/workflows/CompileBot.yml
vendored
@ -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:
|
||||
|
||||
4
deps/SnoopCompile/snoop_bot_config.jl
vendored
4
deps/SnoopCompile/snoop_bot_config.jl
vendored
@ -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",
|
||||
)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user