Skip to content

Commit

Permalink
fix: extend CI running time (#1749)
Browse files Browse the repository at this point in the history
Also, add sccache debug log in hope to understand
why we get 0 hits sometimes.

Signed-off-by: Roman Gershman <[email protected]>
  • Loading branch information
romange authored Aug 27, 2023
1 parent 6aaa0ee commit 8ebfd15
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 8ebfd15

Please sign in to comment.