Skip to content

Commit

Permalink
Tweak ccache behavior for better performance.
Browse files Browse the repository at this point in the history
  • Loading branch information
akrieger committed Jan 18, 2022
1 parent 35a7895 commit aaffb31
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,9 @@ jobs:
sound: 1
localize: 1
title: Clang 12, macOS 10.15, Tiles, Sound, UBSan
# ccache on mac has zstd built in
# ~120MB ccache-compressed in a clean build
# ~115 compressed
ccache_limit: 1G
# ~880MB ccache-compressed in a clean build
# ~100 compressed
ccache_limit: 2G

- compiler: g++
os: ubuntu-latest
Expand Down Expand Up @@ -203,6 +202,9 @@ jobs:
RELEASE: ${{ matrix.release }}
ARCHIVE_SUCCESS: ${{ matrix.archive-success }}
CCACHE_LIMIT: ${{ matrix.ccache_limit }}
CCACHE_FILECLONE: true
CCACHE_HARDLINK: true
CCACHE_NOCOMPRESS: true
SKIP: ${{ ( github.event.pull_request.draft == true && matrix.title != 'Basic Build and Test (GCC 9, Curses, LTO)' ) || ( matrix.dont_skip_data_only_changes == 0 && needs.skip-duplicates.outputs.should_skip_code == 'true' ) || ( matrix.dont_skip_data_only_changes != 0 && needs.skip-duplicates-mods.outputs.should_skip_data == 'true' ) }}
SKIP_TESTS: ${{ needs.matrix-variables.outputs.skip_tests }}
steps:
Expand Down

0 comments on commit aaffb31

Please sign in to comment.