Update upstream to https://github.com/zed-industries/zed.git/commit/1… #7235
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Benchmark | |
| on: | |
| push: {} | |
| workflow_dispatch: {} | |
| jobs: | |
| depot-remote-cache: | |
| name: Depot with Remote Cache | |
| runs-on: depot-ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: upstream | |
| env: | |
| RUSTC_WRAPPER: "sccache" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Run sccache-cache | |
| uses: mozilla-actions/sccache-action@v0.0.7 | |
| - run: ./script/linux # Install Dependencies | |
| - run: cargo build --release | |
| depot-cacheless: | |
| name: Depot Cacheless | |
| runs-on: depot-ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: upstream | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Run sccache-cache | |
| uses: mozilla-actions/sccache-action@v0.0.7 | |
| - run: ./script/linux # Install Dependencies | |
| - run: cargo build --release | |
| github-local-cache: | |
| name: GitHub with Local Cache | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: upstream | |
| env: | |
| SCCACHE_GHA_ENABLED: "true" | |
| RUSTC_WRAPPER: "sccache" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Run sccache-cache | |
| uses: mozilla-actions/sccache-action@v0.0.7 | |
| - name: Check sccache version | |
| run: sccache --version | |
| - name: Install Dependencies | |
| run: ./script/linux | |
| - name: Build with Cargo | |
| run: cargo build --release --verbose | |
| github-cacheless: | |
| name: Github Cacheless | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: upstream | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Run sccache-cache | |
| uses: mozilla-actions/sccache-action@v0.0.7 | |
| - run: ./script/linux # Install Dependencies | |
| - run: cargo build --release |