just playing with tangled
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(github): reduce compile time in build, nix, and release workflows

Summary: When building in CI, we just build everything from scratch in the `dev`
profile, so just turn off debuginfo and incremental compilation data. These
aren't reused, but more importantly take up more space and CPU time to generate;
that's more expensive on slower machines and when using The Cloud(TM) to build.

Together, these take a fresh build (`rm -rf target/` ahead of time) from about
40s to 30s on my machine.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: Id6e706634dbaf88f6ccd7f457409ad7c

+8
+4
.github/workflows/build.yml
··· 8 8 9 9 permissions: read-all 10 10 11 + env: 12 + CARGO_INCREMENTAL: 0 13 + CARGO_PROFILE_DEV_DEBUG: 0 14 + 11 15 jobs: 12 16 build: 13 17 strategy:
+3
.github/workflows/release.yml
··· 6 6 7 7 permissions: read-all 8 8 9 + env: 10 + CARGO_INCREMENTAL: 0 11 + 9 12 jobs: 10 13 build-release: 11 14 name: build-release
+1
flake.nix
··· 67 67 ZSTD_SYS_USE_PKG_CONFIG = "1"; 68 68 LIBSSH2_SYS_USE_PKG_CONFIG = "1"; 69 69 NIX_JJ_GIT_HASH = self.rev or ""; 70 + CARGO_INCREMENTAL = "0"; 70 71 postInstall = '' 71 72 $out/bin/jj util mangen > ./jj.1 72 73 installManPage ./jj.1