Skip to content

Commit

Permalink
feat(action): fix v8 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotchen0 committed May 13, 2024
1 parent 4d72166 commit 2b5f253
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/3rd_prebuilt_v8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ jobs:
- name: Sync third_party
working-directory: ./v8
run: |
export PATH=/usr/local/opt/depot_tools:$PATH
echo "target_os = ['android']" >> ../.gclient
gclient sync -D
- name: Prepare android_ndk
Expand All @@ -218,10 +219,12 @@ jobs:
- name: Generate ${{ matrix.arch }}
working-directory: ./v8
run: |
export PATH=/usr/local/opt/depot_tools:$PATH
gn gen out --args="target_os=\"android\" target_cpu=\"${{ matrix.cpu }}\" v8_target_cpu=\"${{ matrix.cpu }}\" android_ndk_root=\"${ANDROID_NDK_HOME}\" is_component_build=false v8_monolithic=true android32_ndk_api_level=21 android64_ndk_api_level=21 clang_use_chrome_plugins=false use_thin_lto=false use_custom_libcxx=false ${{ github.event.inputs.build_type == 'release' && 'is_debug=false is_official_build=true' || 'is_debug=true' }} ${{ github.event.inputs.build_args }}"
- name: Compile ${{ matrix.arch }}
working-directory: ./v8
run: |
export PATH=/usr/local/opt/depot_tools:$PATH
ninja -C out v8_monolith
- name: Prepare package
working-directory: ./v8/out
Expand Down

0 comments on commit 2b5f253

Please sign in to comment.