tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

CI: an optimised compiler for the tests, a quick lane for pull requests, caches

A CI run took about an hour on naboo, where a job gets 2 CPUs. Most of
it was the test suites compiling every tests/run program again and
again with a debug compiler, plus three reruns of the native programs on
every pull request, plus a toolchain, crates and dependencies fetched
and built from nothing each time.

- scripts/ci.sh sets CARGO_PROFILE_DEV_OPT_LEVEL=1 (overridable): the
  tests run an optimised compiler, still with debug assertions and
  overflow checks.
- LOUISE_CI_FULL=0, which ci.yml sets for pull requests, leaves out the
  hibernation rerun, the benchmark programs both ways, and the ASan+UBSan
  native programs (about 16 minutes in run #633). Pushes to main, manual
  runs and local runs still do everything.
- ci.yml caches the toolchain, the downloaded crates, and the
  third-party crates' builds. scripts/ci-cache-prune.py drops the
  workspace's own artifacts first: they change with every commit, and a
  full target/ is about 9 GiB against the runner's 10 GiB cache.
  CARGO_INCREMENTAL=0 in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 3 sem. · f348b6c12f31f419c6fc05e569efebc2de01ce69

Parents af28fb5

4 fichiers modifiés, 139 ajouts, 13 suppressions