julia-actions / cache

A shortcut action to cache Julia artifacts, packages, and registries.
MIT License
38 stars 8 forks source link

Slow on Julia v1.6, windows-latest, x64, dirty registry? #112

Open wheeheee opened 5 months ago

wheeheee commented 5 months ago

I'm not sure whether this belongs here, on setup-julia, buildpkg, or if it's not a problem. Basically, running CI with Julia v1.6 on the windows-latest x64 platform is taking a lot of time on the cache@v1 and julia-buildpkg@v1 steps. The poor behaviour is specific to this combination of platform and Julia version of the 8 tested here. In this job, there is also a warning under julia-processcoverage@v1:

┌ Warning: Some registries failed to update:
│     — `C:\Users\runneradmin\.julia\registries\General` — registry dirty
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:1246

Previous conversation at JuliaDSP/DSP.jl#528.

IanButterworth commented 5 months ago

On windows with 1.6 I recommend telling cache not to cache registries.

Tar is very slow to compress the git registry on windows, which 1.6 uses