Skip to content

Commit

Permalink
recover cache and limit sanity check build time
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Jul 9, 2024
1 parent c4785b1 commit 209167e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
with:
prefix-key: build
shared-key: wasm
workspaces: |
.
./target/srtool
cache-directories: ./runtime

# Use this to debug what's going on inside the srtool container
# - name: Run Docker SRTool
Expand Down Expand Up @@ -137,7 +141,7 @@ jobs:
with:
tag: ${{ github.ref_name }}
commit: ${{ github.sha }}
artifacts: "${{ steps.srtool_build.outputs.wasm }}"
artifacts: "${{ steps.srtool_build.outputs.wasm }}, ${{ matrix.chain }}-srtool-digest.json"
replacesArtifacts: true
allowUpdates: true
artifactErrorsFailBuild: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sanity-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:
contents: read
jobs:
test-n-lint:
timeout-minutes: 90
name: ${{ matrix.target }}
runs-on: ubuntu-latest-8-cores
strategy:
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
RUSTC_WRAPPER: "sccache"

benchmark-check:
# timeout-minutes: 90 # <- Not needed as ubunt-latest is free of charge
name: bench-check-${{ matrix.runtime }}
runs-on: ubuntu-latest #-4-cores
strategy:
Expand Down

0 comments on commit 209167e

Please sign in to comment.