Update compile.yml

This commit is contained in:
wangyunlai
2023-07-19 13:52:54 +08:00
committed by GitHub
parent 2f39a035b8
commit b92d5b19ed

View File

@ -45,7 +45,7 @@ jobs:
env: env:
cache-name: cache-build cache-name: cache-build
with: with:
key: ${{ runner.os }}-${{ env.cache-name }}-el7.x86_64-${{ github.ref_name }} key: ${{ runner.os }}-${{ env.cache-name }}-${{ matrix.image }}-el7.x86_64-${{ github.ref_name }}
path: ~/.ccache path: ~/.ccache
enableCrossOsArchive: false enableCrossOsArchive: false
restore-keys: | restore-keys: |
@ -64,4 +64,6 @@ jobs:
bash build.sh debug -DOB_USE_CCACHE=ON bash build.sh debug -DOB_USE_CCACHE=ON
cd build_debug && make -j4 && cd - cd build_debug && make -j4 && cd -
deps/3rd/usr/local/oceanbase/devtools/bin/ccache -s deps/3rd/usr/local/oceanbase/devtools/bin/ccache -s
cat $PWD/ccache.log
- if: ${{ runner.debug }}
run: cat $PWD/ccache.log