mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-21 23:19:53 +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:
parent
6aaa0ee072
commit
8ebfd15166
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user