Merge pull request 'Raise jobs on CI' (#893) from ci-jobs into main
Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/893
This commit is contained in:
commit
f2d2ecb247
@ -100,7 +100,7 @@ commands:
|
|||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
cmd="cargo build <<#parameters.release>>--release<</parameters.release>> --no-default-features --features="${FEATURES}" -p <<parameters.package>> -j"
|
cmd="cargo build <<#parameters.release>>--release<</parameters.release>> --no-default-features --features="${FEATURES}" -p <<parameters.package>> -j"
|
||||||
for i in 36 4 2 1 1; do
|
for i in 16 4 2 1 1; do
|
||||||
$cmd $i && exit 0
|
$cmd $i && exit 0
|
||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
@ -144,11 +144,11 @@ jobs:
|
|||||||
cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>>
|
cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>>
|
||||||
- run_with_coverage:
|
- run_with_coverage:
|
||||||
cmd: |
|
cmd: |
|
||||||
cargo build -p plume-cli --no-default-features --features=${FEATURES} -j1
|
cargo build -p plume-cli --no-default-features --features=${FEATURES} -j 4
|
||||||
./target/debug/plm migration run
|
./target/debug/plm migration run
|
||||||
./target/debug/plm search init
|
./target/debug/plm search init
|
||||||
cmd="cargo test --all --exclude plume-front --exclude plume-macro --no-run --no-default-features --features=${FEATURES} -j"
|
cmd="cargo test --all --exclude plume-front --exclude plume-macro --no-run --no-default-features --features=${FEATURES} -j"
|
||||||
for i in 36 4 2 1 1; do
|
for i in 16 4 2 1 1; do
|
||||||
$cmd $i && break
|
$cmd $i && break
|
||||||
done
|
done
|
||||||
cargo test --all --exclude plume-front --exclude plume-macro --no-default-features --features="${FEATURES}" -j1
|
cargo test --all --exclude plume-front --exclude plume-macro --no-default-features --features="${FEATURES}" -j1
|
||||||
@ -172,14 +172,14 @@ jobs:
|
|||||||
- run_with_coverage:
|
- run_with_coverage:
|
||||||
cmd: |
|
cmd: |
|
||||||
cmd="cargo install --debug --no-default-features --features="${FEATURES}",test --force --path . -j"
|
cmd="cargo install --debug --no-default-features --features="${FEATURES}",test --force --path . -j"
|
||||||
for i in 36 4 2 1 1; do
|
for i in 16 4 2 1 1; do
|
||||||
$cmd $i && exit 0
|
$cmd $i && exit 0
|
||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
- run_with_coverage:
|
- run_with_coverage:
|
||||||
cmd: |
|
cmd: |
|
||||||
cmd="cargo install --debug --no-default-features --features="${FEATURES}" --force --path plume-cli -j"
|
cmd="cargo install --debug --no-default-features --features="${FEATURES}" --force --path plume-cli -j"
|
||||||
for i in 36 4 2 1 1; do
|
for i in 16 4 2 1 1; do
|
||||||
$cmd $i && exit 0
|
$cmd $i && exit 0
|
||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user