Skip to content

Commit

Permalink
Merge branch 'main' into fix/moveNode
Browse files Browse the repository at this point in the history
  • Loading branch information
siguangli authored May 13, 2024
2 parents af67d3d + 3ce42a2 commit 18bdd34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/3rd_prebuilt_v8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,13 @@ jobs:
- cpu: x64
arch: x86_64
steps:
- name: Setup GN
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /usr/local/opt/depot_tools
export PATH=/usr/local/opt/depot_tools:$PATH
- name: Fetch v8
run: |
export PATH=/usr/local/opt/depot_tools:$PATH
fetch v8
cd v8
git checkout ${{ github.event.inputs.v8_revision }}
Expand All @@ -187,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 @@ -213,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 18bdd34

Please sign in to comment.