From fd0813fead0ba956396555041766de80b3b536a7 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Fri, 13 Sep 2024 14:36:04 +0200 Subject: [PATCH] ci: target cpu x86_64 to improve CPU compat The `-Dcpu` option force compiling using less CPU's capabilities. This will improve the binary compatibility with older CPUs. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48a59662..757d1a1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - uses: ./.github/actions/install - name: zig build - run: zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dcpu=x86_64_v3+aes + run: zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dcpu=x86_64 - name: Rename binary run: mv zig-out/bin/browsercore-get lightpanda-get-${{ env.ARCH }}-${{ env.OS }}