Note
Builds for Windows (x64, ARM64), Linux (x64, ARM64), and macOS (arm64, x64) are supported via GitHub Actions workflows.
This repository contains the CI/CD infrastructure to build the V8 JavaScript Engine as a monolithic library for Windows, Linux, and macOS using Clang.
V8 is notoriously difficult to build across multiple platforms. This project provides a reliable, automated way to generate a v8_monolith static library that is compatible with modern toolchains (like MSVC, Clang, and GCC).
The build is optimized for use with the Zane project:
- Targets: Windows (x64, ARM64), Linux (x64, ARM64), macOS (x64, arm64)
- Toolchain: Google Clang (via Depot Tools)
- Mode: Monolithic (Static Library)
- Features:
v8_monolithic = trueis_clang = truev8_use_external_startup_data = false(Snapshots are embedded in the library)
Each successful run of the GitHub Actions workflow produces artifacts containing:
v8_monolith.lib/libv8_monolith.a: The main library for linking.icudtl.dat: Necessary data for internationalization (I18N).include/: All necessary V8 headers.
- Go to the Actions tab of this repository.
- Select the latest successful build run for your target platform.
- Download the artifact (e.g.
v8_monolith_Windows_x64,v8_monolith_macOS_ARM64, etc.). - Extract the contents into the appropriate dependencies folder of your Zane project.
Part of the Zane Ecosystem.