Add version check for 1.8 precompiles (#4179)
Co-authored-by: t-bltg <tf.bltg@gmail.com>
This commit is contained in:
parent
4f9a708f66
commit
616d72476a
6
.github/workflows/SnoopCompile.yml
vendored
6
.github/workflows/SnoopCompile.yml
vendored
@ -18,13 +18,14 @@ jobs:
|
|||||||
GKS_ENCODING: "utf8"
|
GKS_ENCODING: "utf8"
|
||||||
GKSwstype: "100"
|
GKSwstype: "100"
|
||||||
PLOTS_TEST: "true"
|
PLOTS_TEST: "true"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{matrix.os}}
|
||||||
strategy:
|
strategy:
|
||||||
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' # |
|
- '1.7' # |
|
||||||
|
- '~1.8.0-0' # |
|
||||||
# - 'nightly' # ⎦ <<< keep these versions in sync with deps/SnoopCompile/snoop_bot_config.jl
|
# - 'nightly' # ⎦ <<< keep these versions in sync with deps/SnoopCompile/snoop_bot_config.jl
|
||||||
# ^^^^^^^^^ for 'nightly', see github.com/JuliaPlots/Plots.jl/issues/4079
|
# ^^^^^^^^^ for 'nightly', see github.com/JuliaPlots/Plots.jl/issues/4079
|
||||||
os: # NOTE: should match the os setting of your botconfig
|
os: # NOTE: should match the os setting of your botconfig
|
||||||
@ -36,7 +37,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: julia-actions/setup-julia@latest
|
- uses: julia-actions/setup-julia@latest
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.version }}
|
version: ${{matrix.version}}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -88,7 +89,6 @@ jobs:
|
|||||||
no changelog
|
no changelog
|
||||||
branch: "Test_SnoopCompile_AutoPR_${{ github.ref }}"
|
branch: "Test_SnoopCompile_AutoPR_${{ github.ref }}"
|
||||||
|
|
||||||
|
|
||||||
Skip:
|
Skip:
|
||||||
if: "contains(github.event.head_commit.message, '[skip ci]')"
|
if: "contains(github.event.head_commit.message, '[skip ci]')"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
2
deps/SnoopCompile/snoop_bot_config.jl
vendored
2
deps/SnoopCompile/snoop_bot_config.jl
vendored
@ -2,6 +2,6 @@ using CompileBot
|
|||||||
|
|
||||||
botconfig = BotConfig(
|
botconfig = BotConfig(
|
||||||
"Plots",
|
"Plots",
|
||||||
version = ["1.6", "1.7", "nightly"], # <<< keep these versions in sync with .github/workflows/SnoopCompile.yml
|
version = ["1.6", "1.7", "1.8", "nightly"], # <<< keep these versions in sync with .github/workflows/SnoopCompile.yml
|
||||||
# else_version = "nightly",
|
# else_version = "nightly",
|
||||||
)
|
)
|
||||||
|
|||||||
@ -24,6 +24,11 @@ elseif v"1.7.0-DEV" <= VERSION <= v"1.7.9"
|
|||||||
include("../deps/SnoopCompile/precompile//1.7/precompile_Plots.jl")
|
include("../deps/SnoopCompile/precompile//1.7/precompile_Plots.jl")
|
||||||
_precompile_()
|
_precompile_()
|
||||||
end
|
end
|
||||||
|
elseif v"1.8.0-DEV" <= VERSION <= v"1.8.9"
|
||||||
|
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.8/precompile_Plots.jl"))
|
||||||
|
include("../deps/SnoopCompile/precompile//1.8/precompile_Plots.jl")
|
||||||
|
_precompile_()
|
||||||
|
end
|
||||||
elseif v"1.9.0-DEV" <= VERSION <= v"1.9.9"
|
elseif v"1.9.0-DEV" <= VERSION <= v"1.9.9"
|
||||||
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.9/precompile_Plots.jl"))
|
@static if isfile(joinpath(@__DIR__, "../deps/SnoopCompile/precompile//1.9/precompile_Plots.jl"))
|
||||||
include("../deps/SnoopCompile/precompile//1.9/precompile_Plots.jl")
|
include("../deps/SnoopCompile/precompile//1.9/precompile_Plots.jl")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user