add html5ever install method

This commit is contained in:
Pierre Tachoire
2025-11-25 12:39:40 +01:00
parent a1064a54cc
commit 1e090f9d30
3 changed files with 16 additions and 0 deletions

View File

@@ -66,3 +66,7 @@ runs:
mkdir -p v8/out/${{ inputs.os }}/release/obj/zig/
ln -s ${{ inputs.cache-dir }}/v8/libc_v8.a v8/out/${{ inputs.os }}/release/obj/zig/libc_v8.a
- name: build html5ever
shell: bash
run: make install-html5ever

View File

@@ -40,6 +40,8 @@ WORKDIR /browser
RUN git submodule init && \
git submodule update --recursive
RUN make install-html5ever
# download and install v8
RUN case $TARGETPLATFORM in \
"linux/arm64") ARCH="aarch64" ;; \

View File

@@ -215,6 +215,16 @@ To init or update the submodules in the `vendor/` directory:
make install-submodule
```
**html5ever**
[html5ver](https://github.com/servo/html5ever) is high-performance browser-grade HTML5 parser.
```
make install-html5ever
```
For dev env, use `make install-html5ever-dev`.
**v8**
First, get the tools necessary for building V8, as well as the V8 source code: