Skip to content

build: add V8 runtime. #204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ jobs:
fail-fast: false
matrix:
include:
- name: 'V8 on Linux'
runtime: 'v8'
os: ubuntu-20.04
- name: 'V8 on macOS'
runtime: 'v8'
os: macos-11
- name: 'WAMR on Linux'
runtime: 'wamr'
os: ubuntu-20.04
Expand Down Expand Up @@ -107,4 +113,4 @@ jobs:

- name: Test (signed Wasm module)
run: |
bazel test --test_output=errors --define runtime=${{ matrix.runtime }} --per_file_copt=//...@-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -b9-)\" //test:signature_util_test
bazel test --test_output=errors --define runtime=${{ matrix.runtime }} --per_file_copt=src/signature_util.cc,test/signature_util_test.cc@-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -b9-)\" //test:signature_util_test
7 changes: 7 additions & 0 deletions bazel/dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
load("@proxy_wasm_cpp_host//bazel/cargo:crates.bzl", "proxy_wasm_cpp_host_fetch_remote_crates")
load("@rules_python//python:pip.bzl", "pip_install")
load("@rules_rust//rust:repositories.bzl", "rust_repositories")

def proxy_wasm_cpp_host_dependencies():
protobuf_deps()
rust_repositories()
proxy_wasm_cpp_host_fetch_remote_crates()

pip_install(
name = "v8_python_deps",
extra_pip_args = ["--require-hashes"],
requirements = "@v8//:bazel/requirements.txt",
)
Loading