use ccache -z instead -c

This commit is contained in:
wangyunlai 2023-07-18 16:53:06 +08:00 committed by GitHub
parent 46b34aeb05
commit 4d62233e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,10 +46,12 @@ jobs:
shell: bash
run: |
rm -rf build_debug
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -c
export CCACHE_LOGFILE=$PWD/ccache.log
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -z
bash build.sh debug -DOB_USE_CCACHE=ON
cd build_debug && make -j4 && cd -
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -s
cat $PWD/ccache.log
centos-x86_64:
runs-on: ubuntu-20.04
@ -91,7 +93,7 @@ jobs:
shell: bash
run: |
rm -rf build_debug
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -c
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -z
bash build.sh debug -DOB_USE_CCACHE=ON
cd build_debug && make -j4 && cd -
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -s