mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
Try to find the best parallelisation
This commit is contained in:
6
.github/workflows/build_and_test.yml
vendored
6
.github/workflows/build_and_test.yml
vendored
@@ -177,7 +177,11 @@ jobs:
|
||||
# but with disabled `debug-assertions` to excersice release code paths
|
||||
- name: Run cargo clippy (debug, with debug-assertions=false)
|
||||
run: |
|
||||
parallel --jobs 8 "cargo hack --feature-powerset --partition {}/8 clippy --target-dir target/partition-{} $CLIPPY_COMMON_ARGS -C debug-assertions=off" ::: 1 2 3 4 5 6 7 8
|
||||
for N in 4 8 10 12 14 16 18 20; do
|
||||
echo "Running clippy with debug-assertions=false for partition ${N}"
|
||||
time parallel --jobs ${N} "cargo hack --feature-powerset --partition {}/${N} clippy --target-dir target/partition-{} $CLIPPY_COMMON_ARGS -C debug-assertions=off" ::: $(seq -s " " 1 ${N})
|
||||
rm -rf target/partition-*
|
||||
done
|
||||
|
||||
- name: Check documentation generation
|
||||
run: cargo doc --workspace --no-deps --document-private-items
|
||||
|
||||
Reference in New Issue
Block a user