chore: free ubuntu-latest spaces (#1920)

* chore: free ubuntu-latest spaces

* chore: install clang
This commit is contained in:
Aaron Chen
2025-03-19 12:54:40 +08:00
committed by GitHub
parent c7531f2100
commit efa38d0a98
4 changed files with 30 additions and 3 deletions

View File

@@ -21,6 +21,12 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Install LLVM and Clang
run: sudo apt install -y clang
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- if: ${{ runner.os == 'Windows' }}
@@ -48,6 +54,12 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Install LLVM and Clang
run: sudo apt install -y clang
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- if: ${{ runner.os == 'Windows' }}
@@ -71,6 +83,12 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Install LLVM and Clang
run: sudo apt install -y clang
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- if: ${{ runner.os == 'Windows' }}

View File

@@ -28,6 +28,12 @@ jobs:
toolchain: nightly
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Install LLVM and Clang
run: sudo apt install -y clang
- uses: actions/checkout@v4
- name: Install Rust

View File

@@ -72,6 +72,12 @@ jobs:
# toolchain: nightly
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Install LLVM and Clang
run: sudo apt install -y clang
- uses: actions/checkout@v4
- name: Install Rust