]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-113858: GH Actions: Make ccache smaller (GH-113859, GH-113945) (GH-114082)
authorPetr Viktorin <encukou@gmail.com>
Tue, 16 Jan 2024 15:28:27 +0000 (16:28 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 15:28:27 +0000 (16:28 +0100)
commit74485c0323f91b32877e71c233570d89bc63fbd5
tree144d713a76f000d930ba38a5a22e3222dfbc314e
parent4888db15fe89143740a044267c404b93eb4508eb
[3.12] gh-113858: GH Actions: Make ccache smaller (GH-113859, GH-113945) (GH-114082)

This backports 3 PRs:

- https://github.com/python/cpython/pull/113859

  Only save ccache on pushes

- https://github.com/python/cpython/pull/113945

  Cut down ccache size

  - Only save the ccache in the main reusable builds, not on builds that
    don't use special build options:
      - Generated files check
    - OpenSSL tests
    - Hypothesis tests
  - Halve the max cache size, to 200M

- https://github.com/python/cpython/pull/114113

  Fixup for the above

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
.github/workflows/build.yml
.github/workflows/reusable-ubuntu.yml