1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

fix: extend CI running time (#1749)

Also, add sccache debug log in hope to understand
why we get 0 hits sometimes.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2023-08-27 10:57:29 +03:00 committed by GitHub
parent 6aaa0ee072
commit 8ebfd15166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,9 +44,12 @@ jobs:
build-type: Debug
compiler: {cxx: clang++, c: clang}
cxx_flags: ""
timeout-minutes: 30
timeout-minutes: 60
env:
SCCACHE_GHA_ENABLED: "true"
SCCACHE_CACHE_SIZE: 6G
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
SCCACHE_LOG: debug
container:
image: ghcr.io/romange/${{ matrix.container }}
@ -92,7 +95,7 @@ jobs:
run: |
cd ${{github.workspace}}/build
ninja src/all
${SCCACHE_PATH} --show-stats
${SCCACHE_PATH} --show-stats | tee $GITHUB_STEP_SUMMARY
- name: Test
run: |
@ -114,6 +117,12 @@ jobs:
./multi_test --multi_exec_mode=1
./multi_test --multi_exec_mode=3
# GLOG_logtostderr=1 GLOG_vmodule=transaction=1,engine_shard_set=1 CTEST_OUTPUT_ON_FAILURE=1 ninja server/test
- name: Upload cache log
uses: actions/upload-artifact@v3
with:
name: sccache_log.txt
path: /tmp/sccache_log.txt
lint-test-chart:
runs-on: ubuntu-latest
steps: