update precompile_includer
This commit is contained in:
parent
b47bcea6e6
commit
f45965c1ed
6
.github/workflows/SnoopCompile.yml
vendored
6
.github/workflows/SnoopCompile.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
julia --project -e 'using Pkg; Pkg.instantiate()'
|
julia --project -e 'using Pkg; Pkg.instantiate()'
|
||||||
julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); Pkg.develop(PackageSpec(; path=pwd())); using CompileBot; CompileBot.addtestdep()'
|
julia -e 'using Pkg; Pkg.add(PackageSpec(name="CompileBot", version="1")); Pkg.develop(PackageSpec(; path=pwd())); using CompileBot; CompileBot.addtestdep()'
|
||||||
|
|
||||||
# TESTCMD
|
# TESTCMD
|
||||||
- name: Default TESTCMD
|
- name: Default TESTCMD
|
||||||
@ -71,8 +71,8 @@ jobs:
|
|||||||
|
|
||||||
- name: CompileBot postprocess
|
- name: CompileBot postprocess
|
||||||
run: |
|
run: |
|
||||||
if ! grep -m1 -q 'format' artifact/src/precompile_includer.jl; then sed -i '1 i\#! format: off' artifact/src/precompile_includer.jl; fi
|
if ! grep -m1 -q 'format: off' artifact/src/precompile_includer.jl; then sed -i '1 i\#! format: off' artifact/src/precompile_includer.jl; fi
|
||||||
julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess()'
|
julia -e 'using Pkg; Pkg.add(PackageSpec(name="CompileBot", version="1")); using CompileBot; CompileBot.postprocess()'
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
|
|||||||
2
deps/SnoopCompile/snoop_bot_config.jl
vendored
2
deps/SnoopCompile/snoop_bot_config.jl
vendored
@ -3,5 +3,5 @@ using CompileBot
|
|||||||
botconfig = BotConfig(
|
botconfig = BotConfig(
|
||||||
"Plots",
|
"Plots",
|
||||||
version = [v"1.5", v"1.6", v"1.7"], # NOTE: keep in sync with .github/workflows/SnoopCompile.yml
|
version = [v"1.5", v"1.6", v"1.7"], # NOTE: keep in sync with .github/workflows/SnoopCompile.yml
|
||||||
# else_version = v"1.7",
|
# else_version = v"1.8",
|
||||||
)
|
)
|
||||||
@ -14,16 +14,22 @@ elseif !ismultios && !ismultiversion
|
|||||||
_precompile_()
|
_precompile_()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@static if v"1.6.0-DEV" <= VERSION <= v"1.6.9"
|
@static if v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
||||||
|
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.5/precompile_Plots.jl"))
|
||||||
|
include("../deps/SnoopCompile/precompile//1.5/precompile_Plots.jl")
|
||||||
|
_precompile_()
|
||||||
|
end
|
||||||
|
elseif v"1.6.0-DEV" <= VERSION <= v"1.6.9"
|
||||||
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.6/precompile_Plots.jl"))
|
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.6/precompile_Plots.jl"))
|
||||||
include("../deps/SnoopCompile/precompile//1.6/precompile_Plots.jl")
|
include("../deps/SnoopCompile/precompile//1.6/precompile_Plots.jl")
|
||||||
_precompile_()
|
_precompile_()
|
||||||
end
|
end
|
||||||
else
|
elseif v"1.7.0-DEV" <= VERSION <= v"1.7.9"
|
||||||
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.7/precompile_Plots.jl"))
|
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.7/precompile_Plots.jl"))
|
||||||
include("../deps/SnoopCompile/precompile//1.7/precompile_Plots.jl")
|
include("../deps/SnoopCompile/precompile//1.7/precompile_Plots.jl")
|
||||||
_precompile_()
|
_precompile_()
|
||||||
end
|
end
|
||||||
|
else
|
||||||
end
|
end
|
||||||
|
|
||||||
end # precompile_enclosure
|
end # precompile_enclosure
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user