Skip to content

Commit

Permalink
Update build-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
david-clang authored Sep 16, 2024
1 parent de06bf3 commit f376817
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,75 @@ jobs:
v8/out.gn/arm64.release/mksnapshot
v8/out.gn/arm64.release/torque
v8/out.gn/arm64.release/torque-language-server
build_macos_x86_64:
name: macOS-x86_64
runs-on: macos-14

steps:
- name: Install Depot Tools
uses: newkdev/[email protected]
- uses: actions/setup-python@v5
with:
python-version: '3.11.7'
- run: |
echo 'solutions = [
{
"name": "v8",
"url": "https://github.com/openwebf/v8.git",
"deps_file": "DEPS",
"managed": False,
"custom_deps": {}
},
]' > .gclient
- run: cat .gclient
- run: ls -la
- run: gclient sync && cd v8
- name: Generate build dir
run: cd v8 && ./tools/dev/v8gen.py x64.release -vv
- run: cd v8 && rm ./out.gn/x64.release/args.gn
- run: |
echo 'is_component_build = true
is_debug = false
target_cpu = "x64"
v8_target_cpu = "x64"
use_goma = false
v8_enable_backtrace = false
v8_enable_i18n_support = false
v8_use_zlib = false
use_custom_libcxx = false
mac_sdk_min = "14.0"
mac_min_system_version = "14.0"
mac_deployment_target = "14.0"
symbol_level = 0
is_clang: false
v8_enable_webassembly = false
v8_enable_disassembler = false
v8_enable_object_print = false
v8_enable_verify_heap = false
dcheck_always_on = false
v8_enable_pointer_compression = false
v8_use_external_startup_data = false' > v8/out.gn/x64.release/args.gn
- run: cat v8/out.gn/x64.release/args.gn
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
version: 1.10.0
- name: Build
run: ninja -C ./v8/out.gn/x64.release
- uses: actions/upload-artifact@v3
with:
name: v8_macox_x86_64
path: |
v8/out.gn/x64.release/libv8.dylib
v8/out.gn/x64.release/libv8_libbase.dylib
v8/out.gn/x64.release/libv8_libplatform.dylib
v8/out.gn/x64.release/libthird_party_abseil-cpp_absl.dylib
v8/out.gn/x64.release/d8
v8/include
v8/out.gn/x64.release/mkgrokdump
v8/out.gn/x64.release/mksnapshot
v8/out.gn/x64.release/torque
v8/out.gn/x64.release/torque-language-server
build_android_arm64:
name: android-arm64
runs-on: ubuntu-latest
Expand Down

0 comments on commit f376817

Please sign in to comment.