Skip to content

Commit

Permalink
maximize disk space and enable cache env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ggonzalez94 committed Jul 23, 2024
1 parent 6c8535f commit 81fac78
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,27 @@ on:
branches:
- 'polkadot-v1.10.0-coverage'

env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: 'true'

jobs:
coverage:
runs-on: ubuntu-latest
name: Code Coverage
steps:
# The build artifacts generated by Polkadot projects are already large
# and even larger when using llvm-cov. This GH task helps removing some large
# files on the host and maximizing disk space(https://github.com/easimon/maximize-build-space)
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'

- uses: actions/checkout@v4
with:
submodules: true
Expand Down

0 comments on commit 81fac78

Please sign in to comment.