diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34b39df29f..c2e0866066 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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" @@ -146,6 +150,7 @@ jobs: runs-on: ubuntu-latest env: RUSTFLAGS: "-C debuginfo=0" + CARGO_INCREMENTAL: 0 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python_build.yml b/.github/workflows/python_build.yml index 45f865dfdf..b59e8dfed4 100644 --- a/.github/workflows/python_build.yml +++ b/.github/workflows/python_build.yml @@ -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 @@ -88,6 +89,7 @@ jobs: runs-on: ubuntu-latest env: RUSTFLAGS: "-C debuginfo=1" + CARGO_INCREMENTAL: 0 steps: - uses: actions/checkout@v3 @@ -140,6 +142,7 @@ jobs: runs-on: ubuntu-latest env: RUSTFLAGS: "-C debuginfo=0" + CARGO_INCREMENTAL: 0 steps: - uses: actions/checkout@v2 @@ -189,6 +192,7 @@ jobs: runs-on: ubuntu-latest env: RUSTFLAGS: "-C debuginfo=0" + CARGO_INCREMENTAL: 0 steps: - uses: actions/checkout@v3 @@ -228,6 +232,7 @@ jobs: runs-on: ubuntu-latest env: RUSTFLAGS: "-C debuginfo=0" + CARGO_INCREMENTAL: 0 strategy: matrix: