openPMD-api icon indicating copy to clipboard operation
openPMD-api copied to clipboard

CI is very slow

Open eschnett opened this issue 2 years ago • 2 comments

I noticed that the CI builds are very slow. Each build starts with building cmake and related tools which takes about 20 minutes.

One way out would be to install these via Ubuntu (or to download a binary) and use spack external find to detect these tools. Another way would be to produce and use Docker images for the various CI setups.

eschnett avatar Oct 15 '23 22:10 eschnett

Agreed. Unfortunately there is not enough binary coverage in Spack binary caches yet to cover all our CI.

But adding more externals here:

  • https://github.com/openPMD/openPMD-api/tree/dev/.github/ci/spack-envs

and reworking our binary cache logic as we did here:

  • https://github.com/AMReX-Codes/pyamrex/pull/188

Is needed to speed things up again.

ax3l avatar Nov 07 '23 01:11 ax3l

Taking note of new spack caching possibilities: https://github.com/spack/spack/releases/tag/v0.21.0

ax3l avatar Nov 12 '23 04:11 ax3l