build: add v8_toolchain to darwin/x64 (#42487)

build: add v8_toolchain to darwin/x64
This commit is contained in:
Keeley Hammond 2024-06-13 16:35:20 -05:00 committed by GitHub
parent 9fe1b05025
commit 9e066e7b74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,12 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Set GN_EXTRA_ARGS for MacOS x64 Builds
shell: bash
if: ${{ inputs.target-arch == 'x64' && inputs.target-platform == 'macos' }}
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 ${{ inputs.step-suffix }} - name: Build Electron ${{ inputs.step-suffix }}
shell: bash shell: bash
run: | run: |