mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 14:51:20 -05:00
ci(freebsd): build the workspace crates at opt-level 0 so a cold build fits the time limit
This commit is contained in:
@@ -34,5 +34,10 @@ jobs:
|
||||
# The test builds of this workspace's largest crates (engine, ui-egui) need more than the
|
||||
# VM's 12 GB when two compile at once: the build was killed (exit 137) every night with
|
||||
# four jobs and again with two. One rustc at a time; it still uses every core.
|
||||
cargo-build-extra-args: "-j 1"
|
||||
cargo-test-extra-args: "-j 1"
|
||||
# One at a time, a cold build of the workspace crates at the dev profile's opt-level 1 took
|
||||
# 188 minutes of the step's 260 on Dec 1 and did not finish on Dec 2, so the tests never ran
|
||||
# or ran out of time. The workspace's own crates build at opt-level 0 here (dependencies keep
|
||||
# the profile's 2), which takes less time and memory; the test command passes the same
|
||||
# setting so it reuses that build.
|
||||
cargo-build-extra-args: "-j 1 --config profile.dev.opt-level=0"
|
||||
cargo-test-extra-args: "-j 1 --config profile.dev.opt-level=0"
|
||||
|
||||
Reference in New Issue
Block a user