build: add v8_toolchain to darwin/x64

This commit is contained in:
Keeley Hammond
2024-06-13 14:34:49 -05:00
parent 0affad3be6
commit 260eb4ddde

View File

@@ -334,6 +334,11 @@ jobs:
# lipo off some huge binaries arm64 versions to save space
strip_universal_deep $(xcode-select -p)/../SharedFrameworks
# strip_arm_deep /System/Volumes/Data/Library/Developer/CommandLineTools/usr
- name: Set GN_EXTRA_ARGS for x64 Build
if: ${{ env.TARGET_ARCH == 'x64' }}
run: |
GN_APPENDED_ARGS="$GN_EXTRA_ARGS v8_snapshot_toolchain=\"//build/toolchain/mac:clang_x64\""
echo "GN_EXTRA_ARGS=$GN_APPENDED_ARGS" >> $GITHUB_ENV
- name: Build Electron (darwin)
run: |
cd src/electron