Skip to content

Commit 021ea63

Browse files
committed
it's only a banana^Wbuild system, how big could it be
1 parent 902a168 commit 021ea63

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ jobs:
117117
MALLOC_CONF: "background_thread:true,abort_conf:true,abort:true,junk:true"
118118

119119
steps:
120+
- uses: easimon/maximize-build-space@master
121+
with:
122+
remove-dotnet: true
123+
remove-android: true
124+
remove-haskell: true
125+
remove-codeql: true
126+
remove-docker-images: true
127+
120128
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
121129
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
122130

@@ -125,13 +133,12 @@ jobs:
125133
- run: sudo systemctl start postgresql.service
126134
- run: sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'postgres'"
127135

128-
- run: mkdir /mnt/target target
129-
- run: cargo build --tests --workspace --target-dir=/mnt/target
130-
- run: cargo test --workspace --target-dir=/mnt/target
136+
- run: cargo build --tests --workspace
137+
- run: cargo test --workspace
131138

132139
- run: curl -sL https://github.com/mozilla/grcov/releases/download/v${{ env.GRCOV_VERSION }}/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar xjf -
133140
- run: rustup component add llvm-tools
134-
- run: ./grcov . --binary-path /mnt/target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" --ignore "/mnt/target/debug/build/**" -o target/coverage.lcov
141+
- run: ./grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" --ignore "target/debug/build/**" -o target/coverage.lcov
135142

136143
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
137144
with:

0 commit comments

Comments
 (0)