Skip to content

Commit

Permalink
CI: CCache for macOS (#640)
Browse files Browse the repository at this point in the history
Add environment options to make CCache work on macOS.
  • Loading branch information
ax3l authored Jun 24, 2024
1 parent 40b68f8 commit 424efc2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
ccache-macos-appleclang-
- name: build ImpactX
run: |
export CCACHE_COMPRESS=1
export CCACHE_COMPRESSLEVEL=10
export CCACHE_MAXSIZE=100M
export CCACHE_SLOPPINESS=time_macros
ccache -z
source py-venv/bin/activate
cmake -S . -B build \
Expand All @@ -65,6 +71,9 @@ jobs:
-DPython_EXECUTABLE=$(which python3)
cmake --build build -j 3
du -hs ~/Library/Caches/ccache
ccache -s
- name: run tests
run: |
source py-venv/bin/activate
Expand Down

0 comments on commit 424efc2

Please sign in to comment.