Skip to content

Commit

Permalink
Actually just use a larger runner
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Nov 29, 2023
1 parent 4e2192d commit 44611a6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci-build-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ jobs:
name: Build ${{ matrix.crate }} crate
timeout-minutes: 90
needs: [ matrix, check-matrix ]
runs-on: ubuntu-latest
# Some of these builds take more than 14GB disk space
runs-on: ubuntu-latest-m

Check warning on line 105 in .github/workflows/ci-build-crates.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/ci-build-crates.yml#L105

label "ubuntu-latest-m" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-13-xl", "macos-13", "macos-13.0", "macos-12-xl", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
Raw output
.github/workflows/ci-build-crates.yml:105:14: label "ubuntu-latest-m" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-13-xl", "macos-13", "macos-13.0", "macos-12-xl", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
strategy:
# avoid rate-limit errors by only launching a few of these jobs at a time
max-parallel: 2
Expand Down Expand Up @@ -142,11 +143,6 @@ jobs:
- name: Build ${{ matrix.crate }} crate with all features
run: |
# Work around a "No space left on device" error
# TODO: use a runner with a bigger disk
if [[ ${{ matrix.crate }} == "zebrad" ]]; then
cargo clean
fi
cargo clippy --package ${{ matrix.crate }} --all-features --all-targets -- -D warnings
cargo build --package ${{ matrix.crate }} --all-features --all-targets
Expand Down

0 comments on commit 44611a6

Please sign in to comment.