Skip to content

Commit

Permalink
chore: disable incremental builds in CI for saving space
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyler committed Jul 19, 2023
1 parent a7389d5 commit 1bb6c3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
# Disable full debug symbol generation to speed up CI build and keep memory down
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: -C debuginfo=1
# Disable incremental builds by cargo for CI which should save disk space
# and hopefully avoid final link "No space left on device"
CARGO_INCREMENTAL: 0

steps:
- uses: actions/checkout@v3
Expand All @@ -89,6 +92,7 @@ jobs:
name: Integration Tests
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: 0
# Disable full debug symbol generation to speed up CI build and keep memory down
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
Expand Down Expand Up @@ -146,6 +150,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=0"
CARGO_INCREMENTAL: 0

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/python_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=0"
CARGO_INCREMENTAL: 0

# use the same environment we have for python release
container: quay.io/pypa/manylinux2014_x86_64:2022-09-24-4f086d0
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=1"
CARGO_INCREMENTAL: 0

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -140,6 +142,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=0"
CARGO_INCREMENTAL: 0

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -189,6 +192,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=0"
CARGO_INCREMENTAL: 0

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -228,6 +232,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=0"
CARGO_INCREMENTAL: 0

strategy:
matrix:
Expand Down

0 comments on commit 1bb6c3d

Please sign in to comment.