mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
wipe more directories to free up space
This commit is contained in:
parent
52e14e8ece
commit
472de4198d
2 changed files with 15 additions and 7 deletions
12
.github/free_space.sh
vendored
Normal file
12
.github/free_space.sh
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
df -h
|
||||
sudo rm -rf ${GITHUB_WORKSPACE}/.git
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo apt-get remove -y '^ghc-8.*'
|
||||
sudo apt-get remove -y '^dotnet-.*'
|
||||
sudo apt-get remove -y '^llvm-.*'
|
||||
sudo apt-get remove -y 'php.*'
|
||||
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel
|
||||
sudo apt-get autoremove -y
|
||||
sudo apt-get clean
|
||||
df -h
|
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -69,12 +69,7 @@ jobs:
|
|||
- uses: davidB/rust-cargo-make@v1
|
||||
- uses: browser-actions/setup-firefox@latest
|
||||
- uses: jetli/wasm-pack-action@v0.4.0
|
||||
- run: sudo rm -rf /usr/share/dotnet
|
||||
- run: sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
- run: |
|
||||
df -h
|
||||
sudo rm -rf ${GITHUB_WORKSPACE}/.git
|
||||
df -h
|
||||
- run: bash ./github/free_space.sh
|
||||
- run: cargo make tests
|
||||
|
||||
fmt:
|
||||
|
@ -160,6 +155,7 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16
|
||||
- run: bash ./github/free_space.sh
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
|
@ -249,7 +245,7 @@ jobs:
|
|||
if: ${{ matrix.platform.cross == true }}
|
||||
|
||||
uses: taiki-e/install-action@cross
|
||||
|
||||
- run: bash ./github/free_space.sh
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: "${{ matrix.platform.target }}"
|
||||
|
|
Loading…
Reference in a new issue