TMP: check windows free disk space

This commit is contained in:
Louis Dureuil 2024-05-29 11:14:12 +02:00
parent ca006e38ec
commit 40215bfec3
No known key found for this signature in database

View File

@ -56,6 +56,12 @@ jobs:
matrix: matrix:
os: [macos-12, windows-2022] os: [macos-12, windows-2022]
steps: steps:
- name: Check free disk space on C
run: |
fsutil volume diskfree c:
- name: Check free disk space on D
run: |
fsutil volume diskfree d:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache dependencies - name: Cache dependencies
uses: Swatinem/rust-cache@v2.7.1 uses: Swatinem/rust-cache@v2.7.1
@ -63,11 +69,23 @@ jobs:
with: with:
toolchain: stable toolchain: stable
override: true override: true
- name: Check free disk space on C
run: |
fsutil volume diskfree c:
- name: Check free disk space on D
run: |
fsutil volume diskfree d:
- name: Run cargo check without any default features - name: Run cargo check without any default features
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --locked --release --no-default-features --all args: --locked --release --no-default-features --all
- name: Check free disk space on C
run: |
fsutil volume diskfree c:
- name: Check free disk space on D
run: |
fsutil volume diskfree d:
- name: Run cargo test - name: Run cargo test
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with: