Skip to content

Commit

Permalink
ci: fix disk out of space for GHA (#12192)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Sep 11, 2023
1 parent 9b5db14 commit e8f62d6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/nightly-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,23 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: actions/checkout@v3
- name: Setup Rust toolchain
run: |
rustup override set nightly
rustup update nightly
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y make build-essential cmake protobuf-compiler curl openssl libssl-dev libsasl2-dev libcurl4-openssl-dev pkg-config postgresql-client tmux lld
- name: cargo build
- name: cargo check
run: |
cargo build
export CARGO_INCREMENTAL=0
export CARGO_PROFILE_DEV_DEBUG=false
cargo check

0 comments on commit e8f62d6

Please sign in to comment.