mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
add html5ever install method
This commit is contained in:
4
.github/actions/install/action.yml
vendored
4
.github/actions/install/action.yml
vendored
@@ -66,3 +66,7 @@ runs:
|
|||||||
|
|
||||||
mkdir -p v8/out/${{ inputs.os }}/release/obj/zig/
|
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
|
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
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ WORKDIR /browser
|
|||||||
RUN git submodule init && \
|
RUN git submodule init && \
|
||||||
git submodule update --recursive
|
git submodule update --recursive
|
||||||
|
|
||||||
|
RUN make install-html5ever
|
||||||
|
|
||||||
# download and install v8
|
# download and install v8
|
||||||
RUN case $TARGETPLATFORM in \
|
RUN case $TARGETPLATFORM in \
|
||||||
"linux/arm64") ARCH="aarch64" ;; \
|
"linux/arm64") ARCH="aarch64" ;; \
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -215,6 +215,16 @@ To init or update the submodules in the `vendor/` directory:
|
|||||||
make install-submodule
|
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**
|
**v8**
|
||||||
|
|
||||||
First, get the tools necessary for building V8, as well as the V8 source code:
|
First, get the tools necessary for building V8, as well as the V8 source code:
|
||||||
|
|||||||
Reference in New Issue
Block a user