File tree Expand file tree Collapse file tree 1 file changed +34
-4
lines changed Expand file tree Collapse file tree 1 file changed +34
-4
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,48 @@ jobs:
3535 git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git C:\depot_tools
3636 echo "C:\depot_tools" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
3737
38- - name : Build V8
39- id : build
38+ - name : Fetch V8
4039 run : |
4140 fetch v8
4241 cd v8
4342 git checkout $env:V8_BRANCH
4443 gclient sync -v
45- python3 tools\dev\v8gen.py x64.release -vv -- is_component_build=true v8_static_library=false
46- ninja -C out.gn\x64.release
44+
45+ - name : Patch V8
46+ run : |
47+ cd v8
48+ # placeholder
49+
50+ - name : Build V8
51+ id : build
52+ run : |
53+ cd v8
54+ $release = "out.gn\x64.release"
55+ New-Item -ItemType Directory -Path $release -Force
56+ Set-Content -Path "$release\args.gn" -Value @"
57+ dcheck_always_on = false
58+ is_component_build = false
59+ is_debug = false
60+ target_cpu = "x64"
61+ use_custom_libcxx = false
62+ v8_monolithic = true
63+ v8_use_external_startup_data = false
64+
65+ v8_static_library = true
66+ v8_enable_disassembler = true
67+ v8_enable_object_print = true
68+ v8_enable_pointer_compression = false
69+ "@
70+ gn gen $release
71+ ninja -C $release
4772
4873 Add-Content -Path $env:GITHUB_OUTPUT -Value "artifact=v8-$env:V8_BRANCH"
4974
75+ - name : Cleanup Artifact
76+ run : |
77+ cd v8\out.gn\x64.release
78+ Remove-Item -Path obj -Recurse -Force
79+
5080 - name : Upload Artifact
5181 uses : actions/upload-artifact@v4
5282 with :
You can’t perform that action at this time.
0 commit comments