Skip to content

Commit 77f0aff

Browse files
committed
*bsd.yml: Disable incremental build
1 parent ffb3332 commit 77f0aff

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/freebsd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
# To ensure that files are cleaned up, we don't want to exit on error
9595
set +e
9696
unset FAULT
97+
export CARGO_INCREMENTAL=0
9798
## cargo fmt testing
9899
echo "## cargo fmt testing"
99100
# * convert any errors/warnings to GHA UI annotations; ref: <https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message>
@@ -181,6 +182,7 @@ jobs:
181182
set +e
182183
cd "${WORKSPACE}"
183184
unset FAULT
185+
export CARGO_INCREMENTAL=0
184186
export RUSTFLAGS="-C strip=symbols" # for disk space
185187
cargo build || FAULT=1
186188
export PATH=~/.cargo/bin:${PATH}

.github/workflows/openbsd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
# * NOTE: All steps need to be run in this block, otherwise, we are operating back on the mac host
6161
set -e
6262
export CARGO_TARGET_DIR=/tmp/cargo-target
63+
export CARGO_INCREMENTAL=0
6364
# Avoid filling disk space
6465
export RUSTFLAGS="-C debuginfo=1 -C strip=symbols"
6566
TEST_USER=tester
@@ -159,6 +160,7 @@ jobs:
159160
# * NOTE: All steps need to be run in this block, otherwise, we are operating back on the mac host
160161
set -e
161162
export CARGO_TARGET_DIR=/tmp/cargo-target
163+
export CARGO_INCREMENTAL=0
162164
TEST_USER=tester
163165
REPO_NAME=${GITHUB_WORKSPACE##*/}
164166
WORKSPACE_PARENT="/home/runner/work/${REPO_NAME}"

0 commit comments

Comments
 (0)