Skip to content

Commit ca22041

Browse files
committed
Cache Support: Try 4
1 parent 6688556 commit ca22041

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
# Configure ccache
6565
- name: Configure ccache
6666
run: |
67+
mkdir -p $(pwd)/ccache/bazel # Ensure the directory exists
6768
ccache --set-config=cache_dir=$(pwd)/ccache
6869
ccache --set-config=compression=true
6970
ccache --set-config=sloppiness=include_file_ctime,include_file_mtime
@@ -240,19 +241,7 @@ jobs:
240241
#git config --global user.name "TheWildJames"
241242
#git add *
242243
#git commit -s -a -m "getting rid of -dirty"
243-
if [ -f ./kernel_platform/build_with_bazel.py ]; then
244-
./kernel_platform/build_with_bazel.py \
245-
-t ${{ inputs.soc }} \
246-
gki \
247-
--jobs=$(nproc --all) \
248-
--verbose_failures \
249-
--config=stamp \
250-
--user_kmi_symbol_lists=//msm-kernel:android/abi_gki_aarch64_qcom \
251-
--ignore_missing_projects \
252-
-o "$(pwd)/out"
253-
else
254-
./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} gki
255-
fi
244+
CC="/usr/bin/ccache clang" ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} gki
256245
257246
- name: Copy Images
258247
run: |

0 commit comments

Comments
 (0)