Skip to content

Commit

Permalink
Enable C cache to speed up compilation
Browse files Browse the repository at this point in the history
Signed-off-by: cachiusa <[email protected]>
  • Loading branch information
cachiusa authored May 19, 2024
1 parent cd11c53 commit d3a785f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/OrangeFox-Compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
git clone https://gitlab.com/OrangeFox/misc/scripts.git -b master
cd scripts
sudo bash setup/android_build_env.sh
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
max-size: "10G"

- name: Set-up Manifest
if: github.event.inputs.MANIFEST_BRANCH == '11.0' || github.event.inputs.MANIFEST_BRANCH == '12.1'
Expand All @@ -93,6 +98,8 @@ jobs:
run: |
cd ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}
set +e
export USE_CCACHE=1
export CCACHE_EXEC=/usr/bin/ccache
source build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
set -e
Expand Down

0 comments on commit d3a785f

Please sign in to comment.