Browse Source

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

build: add v8_toolchain to darwin/x64
Keeley Hammond 10 months ago
parent
commit
9e066e7b74
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/actions/build-electron/action.yml

+ 6 - 0
.github/actions/build-electron/action.yml

@@ -26,6 +26,12 @@ inputs:
 runs:
   using: "composite"
   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 }}
       shell: bash
       run: |