Skip to content

Commit

Permalink
debug benchmark cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Sep 15, 2023
1 parent f79e94b commit 97fa94e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/actions/sccache-gcloud/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ runs:
- name: setup Rust sccache wrapper
if: ${{ inputs.cache == 'enabled' }}
shell: sh
run: echo "RUSTC_WRAPPER="sccache"" >> $GITHUB_ENV
run: echo "RUSTC_WRAPPER="sccache"" >> $GITHUB_ENV

- name: Run sccache stat for check
shell: bash
run: ${SCCACHE_PATH} --show-stats
11 changes: 6 additions & 5 deletions .github/workflows/benchmark-auto-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Benchmark
name: Benchmark PR
on:
push:
branches: [main]
Expand All @@ -9,6 +9,7 @@ jobs:
benchmark:
permissions:
pull-requests: write
contents: read
id-token: write
runs-on: ubuntu-latest-8-cores
strategy:
Expand All @@ -30,10 +31,10 @@ jobs:
GWIP: ${{ secrets.GWIP_SCCACHE }}
GSA: ${{ secrets.GSA_SCCACHE }}

- name: Checkout code
uses: actions/checkout@v3
with:
ref: 'main'
# - name: Checkout code
# uses: actions/checkout@v3
# with:
# ref: 'main'

- name: Run Benchmark ${{ matrix.runtimes }}
run: ./scripts/runtime_benchmarks.sh ${{ matrix.runtimes }}
Expand Down

0 comments on commit 97fa94e

Please sign in to comment.