From caa27fcf984036bb4505a132576c3abe24faf58e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 14 Feb 2023 21:25:41 -0800 Subject: [PATCH] ci: use -Doptimize --- .github/workflows/release-tip.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-tip.yml b/.github/workflows/release-tip.yml index 9db0ac0f8..27bbb5d1b 100644 --- a/.github/workflows/release-tip.yml +++ b/.github/workflows/release-tip.yml @@ -31,11 +31,11 @@ jobs: # because its the only way to access the headers. - name: Build aarch64 run: | - nix develop -c zig build -Dcpu=baseline -Dstatic=true -Dtarget=aarch64-macos -Drelease-fast + nix develop -c zig build -Dcpu=baseline -Dstatic=true -Dtarget=aarch64-macos -Doptimize=ReleaseFast mv zig-out/bin/ghostty zig-out/bin/ghostty-aarch64-macos - name: Build x86_64 run: | - nix develop -c zig build -Dcpu=baseline -Dstatic=true -Dtarget=x86_64-macos -Drelease-fast + nix develop -c zig build -Dcpu=baseline -Dstatic=true -Dtarget=x86_64-macos -Doptimize=ReleaseFast mv zig-out/bin/ghostty zig-out/bin/ghostty-x86_64-macos - name: Create Universal Binary