Skip to content

Commit

Permalink
Check sccache logs
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed May 9, 2024
1 parent 5dc1c7b commit cf8beee
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Checks

on:
push:
pull_request:
types: [opened, synchronize]
branches: [ master, dev]
Expand Down Expand Up @@ -182,6 +183,8 @@ jobs:
SCCACHE_GHA_ENABLED: "true"
SCCACHE_CACHE_SIZE: "2G"
SCCACHE_DIR: ${{ github.workspace }}/.sccache
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
SCCACHE_LOG: debug

steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -230,11 +233,12 @@ jobs:
- name: build
run: cmake --build build

- name: unit tests
run: cd build && ctest -R unit --output-on-failure

- name: binary tests
run: cd build && ctest -R bin --output-on-failure
- name: Upload sccache logs
run: |
echo "SCCACHE ERROR LOG:"
cat $SCCACHE_ERROR_LOG
echo "SCCACHE LOG:"
cat $SCCACHE_LOG
secondary-checks:
runs-on: ubuntu-latest
Expand Down

0 comments on commit cf8beee

Please sign in to comment.