Skip to content

Commit

Permalink
Add ccache support
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraKyuo committed Jul 23, 2023
1 parent cf2f2d6 commit 67d7ccc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/Recovery Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ jobs:
- name: Building recovery
run: |
source build/envsetup.sh
export USE_CCACHE=1
export CCACHE_EXEC=$(which ccache)
export CC="ccache gcc"
export CXX="ccache g++"
ccache -M 50G
export ALLOW_MISSING_DEPENDENCIES=true
lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && make clean && make ${{ github.event.inputs.BUILD_TARGET }}image -j$(nproc --all)
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
Expand Down

0 comments on commit 67d7ccc

Please sign in to comment.