Skip to content

Commit

Permalink
Check if sccache is setup by Prep build
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Dec 9, 2024
1 parent 25e7ea5 commit 843269b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/sanity-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ jobs:
# Required for integration tests evm interaction
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Debug GitHub Environment Variables
run: |
echo "Printing all variables in GITHUB_ENV:"
cat $GITHUB_ENV || echo "GITHUB_ENV file not found or empty"
- name: Runing cargo ${{ matrix.target }}
run: ./ci/run-check.sh
env:
TARGET: ${{ matrix.target }}
RUSTC_WRAPPER: "sccache"

benchmark-check:
if: ${{ !github.event.pull_request.draft }}
Expand All @@ -63,10 +66,13 @@ jobs:
GWIP: ${{ secrets.GWIP_SCCACHE }}
GSA: ${{ secrets.GSA_SCCACHE }}

- name: Debug GitHub Environment Variables
run: |
echo "Printing all variables in GITHUB_ENV:"
cat $GITHUB_ENV || echo "GITHUB_ENV file not found or empty"
- name: Runing cargo ${{ matrix.target }}
run: ./ci/run-check.sh
env:
TARGET: benchmark-check
RUNTIME: ${{ matrix.runtime }}
RUSTC_WRAPPER: "sccache"

0 comments on commit 843269b

Please sign in to comment.