Add a v8-poc crate to test musl and non-musl binding

This commit is contained in:
Channing Conger
2026-03-14 07:36:23 +00:00
parent c91fc32b4a
commit 23ede7ee13
5 changed files with 955 additions and 0 deletions
@@ -10,6 +10,7 @@ on:
- ".github/scripts/rusty_v8_bazel.py"
- "MODULE.bazel"
- "MODULE.bazel.lock"
- "codex-rs/v8-poc/**"
- "patches/**"
- "third_party/v8/**"
- "**/*.bzl"
@@ -26,6 +27,7 @@ on:
- ".github/scripts/rusty_v8_bazel.py"
- "MODULE.bazel"
- "MODULE.bazel.lock"
- "codex-rs/v8-poc/**"
- "patches/**"
- "third_party/v8/**"
- "**/*.bzl"
@@ -173,6 +175,25 @@ jobs:
path: dist/${{ matrix.target }}
key: ${{ steps.cache_key.outputs.key }}
- name: Build codex-v8-poc against staged bundle
env:
PLATFORM: ${{ matrix.platform }}
TARGET: ${{ matrix.target }}
shell: bash
run: |
set -euo pipefail
eval "$(python3 .github/scripts/rusty_v8_bazel.py print-cargo-env \
--platform "${PLATFORM}" \
--target "${TARGET}" \
--output-dir "dist/${TARGET}")"
cargo test \
--manifest-path codex-rs/v8-poc/Cargo.toml \
--locked \
--lib \
--target "${TARGET}"
- name: Upload staged artifacts
uses: actions/upload-artifact@v7
with: