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
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version: # NOTE: the versions below should match those in your botconfig
|
version: # NOTE: the versions below should match those in your botconfig
|
||||||
- '1.6' # ⎤
|
- '1.6' # ⎤
|
||||||
- '1.7' # ⎦ <<< keep these versions in sync with deps/SnoopCompile/snoop_bot_config.jl
|
- '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
|
os: # NOTE: should match the os setting of your botconfig
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
arch:
|
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(
|
botconfig = BotConfig(
|
||||||
"Plots",
|
"Plots",
|
||||||
version = [v"1.6", v"1.7"], # <<< keep versions in sync with .github/workflows/SnoopCompile.yml
|
version = [v"1.6", v"1.7"], # <<< keep versions in sync with .github/workflows/CompileBot.yml
|
||||||
# else_version = v"1.8",
|
else_version = "nightly",
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#! format: off
|
should_precompile = false
|
||||||
should_precompile = true
|
|
||||||
|
|
||||||
|
|
||||||
# Don't edit the following! Instead change the script for `snoop_bot`.
|
# 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_()
|
_precompile_()
|
||||||
end
|
end
|
||||||
else
|
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
|
||||||
|
|
||||||
end # precompile_enclosure
|
end # precompile_enclosure
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user