diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0f2450b46..e2ca1741ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,9 @@ on: env: CARGO_TERM_COLOR: always + CARGO_INCREMENTAL: 0 + CARGO_PROFILE_TEST_DEBUG: 0 + CARGO_PROFILE_DEV_DEBUG: 0 # If nightly is breaking CI, modify this variable to target a specific nightly version. NIGHTLY_TOOLCHAIN: nightly RUSTFLAGS: "-D warnings" @@ -43,7 +46,6 @@ jobs: # See tools/ci/src/main.rs for the commands this runs run: cargo run -p ci -- test env: - CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C debuginfo=0 -D warnings" ci: @@ -319,7 +321,6 @@ jobs: # See tools/ci/src/main.rs for the commands this runs run: cargo run -p ci -- doc env: - CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C debuginfo=0 -D warnings" # This currently report a lot of false positives # Enable it again once it's fixed - https://github.com/bevyengine/bevy/issues/1983 diff --git a/.github/workflows/validation-jobs.yml b/.github/workflows/validation-jobs.yml index 21db306f20..6f4291b0aa 100644 --- a/.github/workflows/validation-jobs.yml +++ b/.github/workflows/validation-jobs.yml @@ -14,6 +14,9 @@ concurrency: env: CARGO_TERM_COLOR: always + CARGO_INCREMENTAL: 0 + CARGO_PROFILE_TEST_DEBUG: 0 + CARGO_PROFILE_DEV_DEBUG: 0 # If nightly is breaking CI, modify this variable to target a specific nightly version. NIGHTLY_TOOLCHAIN: nightly @@ -256,7 +259,6 @@ jobs: - name: Build run: cargo build -p ${{ matrix.crate }} --no-default-features env: - CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C debuginfo=0 -D warnings" build-without-default-features-status: diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index f1d621cde9..372e903e6d 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -9,6 +9,9 @@ on: env: CARGO_TERM_COLOR: always + CARGO_INCREMENTAL: 0 + CARGO_PROFILE_TEST_DEBUG: 0 + CARGO_PROFILE_DEV_DEBUG: 0 # The jobs listed here are intentionally skipped when running on forks, for a number of reasons: # @@ -43,7 +46,6 @@ jobs: # See tools/ci/src/main.rs for the commands this runs run: cargo run -p ci -- test env: - CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C debuginfo=0 -D warnings" lint: