@@ -19,9 +19,6 @@ Base.init_depot_path()
1919# If I recall correctly, Julia's PkgEval.jl also sets it.
2020const is_ci = tryparse (Bool, get (ENV , " CI" , " " )) === true
2121
22- # GHA = GitHub Actions
23- const is_gha_ci = tryparse (Bool, get (ENV , " GITHUB_ACTIONS" , " " )) === true
24-
2522# In order to be "slow CI", we must meet all of the following:
2623# 1. We are running on CI.
2724# 2. We are running on aarch64 (arm64).
@@ -30,34 +27,14 @@ const is_gha_ci = tryparse(Bool, get(ENV, "GITHUB_ACTIONS", "")) === true
3027# macOS runners seem to be quite fast.)
3128const is_slow_ci = is_ci && Sys. ARCH == :aarch64 && ! Sys. isapple ()
3229
33- const is_julia_1_6 = VERSION . major == 1 && VERSION . minor == 6
34- const is_julia_1_9 = VERSION . major == 1 && VERSION . minor == 9
35-
36- if is_ci || is_gha_ci
37- @info " This is a CI job" Sys. ARCH VERSION is_ci is_gha_ci
30+ if is_ci
31+ @info " This is a CI job" Sys. ARCH VERSION is_ci
3832end
3933
4034if is_slow_ci
4135 @warn " This is \" slow CI\" (defined as any non-macOS CI running on aarch64). Some tests will be skipped or modified." Sys. ARCH
4236end
4337
44- const jlver_some_tests_skipped = [
45- is_julia_1_6,
46- is_julia_1_9,
47- ]
48-
49- if any (jlver_some_tests_skipped)
50- @warn " This is Julia $(VERSION . major) .$(VERSION . minor) . Some tests will be skipped or modified." VERSION
51- end
52-
53- function remove_llvmextras (project_file)
54- proj = TOML. parsefile (project_file)
55- delete! (proj[" deps" ], " LLVMExtra_jll" )
56- open (project_file, " w" ) do io
57- TOML. print (io, proj)
58- end
59- end
60-
6138@testset " PackageCompiler.jl" begin
6239 @testset " create_sysimage" begin
6340 new_project = mktempdir ()
11794 @info " starting: create_app testset" incremental filter
11895 tmp_app_source_dir = joinpath (tmp, " MyApp" )
11996 cp (app_source_dir, tmp_app_source_dir)
120- if is_gha_ci && (is_julia_1_6 || is_julia_1_9)
121- # Julia 1.6: Issue #706 "Cannot locate artifact 'LLVMExtra'" on 1.6 so remove.
122- # Julia 1.9: There's no GitHub Issue, but it seems we hit a similar problem.
123- @test_skip false
124- remove_llvmextras (joinpath (tmp_app_source_dir, " Project.toml" ))
125- end
12697 try
12798 create_app (tmp_app_source_dir, app_compiled_dir; incremental= incremental, force= true , filter_stdlibs= filter, include_lazy_artifacts= true ,
12899 precompile_execution_file= joinpath (app_source_dir, " precompile_app.jl" ),
176147 @test occursin (" From worker 4:\t 8" , app_output)
177148 @test occursin (" From worker 5:\t 8" , app_output)
178149
179- if is_julia_1_6 || is_julia_1_9
180- # Julia 1.6: Issue #706 "Cannot locate artifact 'LLVMExtra'" on 1.6 so remove.
181- # Julia 1.9: There's no GitHub Issue, but it seems we hit a similar problem.
182- @test_skip false
183- else
184- @test occursin (" LLVMExtra path: ok!" , app_output)
185- end
150+
151+ @test occursin (" LLVMExtra path: ok!" , app_output)
186152 @test occursin (" micromamba_jll path: ok!" , app_output)
187153
188154 # Test second app
0 commit comments