mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 22:01:22 +01:00
perf(nix): build the test window with the constant stamp too
komorebi-testwin-e2e is the e2e build's test window, so a change to it rebuilds the crate and not its dependencies (86 s instead of minutes); build-ref.sh uses it.
This commit is contained in:
1 parent
0c21138e25
commit
b1d053b358
2 files changed
+4
-1
No files matched your search
@@ -34,7 +34,7 @@ for package in komorebi komorebic; do
|
||||
path=$(nix build "$tree#$package" --no-link --print-out-paths)
|
||||
cp "$path/bin/$package.exe" "$out/"
|
||||
done
|
||||
path=$(nix build "$root#komorebi-testwin" --no-link --print-out-paths)
|
||||
path=$(nix build "$root#komorebi-testwin-e2e" --no-link --print-out-paths)
|
||||
cp "$path/bin/komorebi-testwin.exe" "$out/"
|
||||
chmod u+w "$out"/*.exe
|
||||
echo "$commit" > "$out/commit"
|
||||
|
||||
@@ -431,6 +431,9 @@
|
||||
komorebi-e2e-agent
|
||||
;
|
||||
inherit windowsSdk;
|
||||
# the test window of the Windows e2e guest, built with the constant
|
||||
# stamp: a new commit does not rebuild what it depends on
|
||||
komorebi-testwin-e2e = e2eBuild.komorebi-testwin;
|
||||
komorebi-full = build.fullBuild;
|
||||
default = build.fullBuild;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user