Skip to content

Commit

Permalink
Fix out of disk space errors in the CI on Windows
Browse files Browse the repository at this point in the history
Disabling debug info reduces the amount of space in target from ~6GB down to ~4GB.
  • Loading branch information
tronical committed May 26, 2023
1 parent 8af017e commit 4fa1f88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
if: matrix.os != 'windows-2022'
run: |
echo "SLINT_STYLE=native" >> $GITHUB_ENV
- name: Disable debug on Windows to save disk space
if: runner.os == 'Windows'
run: |
echo "CARGO_PROFILE_DEV_DEBUG=0" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Set default style
if: matrix.os == 'windows-2022'
run: |
Expand Down

0 comments on commit 4fa1f88

Please sign in to comment.