* WIP: sync before merging origin/main * fix: unify using/module + build CLI; add missing helper in runner; build passes; core smokes green; jit any.len string now returns 3 * Apply local changes after merging main; keep docs/phase-15 removed per main; add phase-15.1 docs and tests * Remove legacy docs/phase-15/README.md to align with main * integration: add Core-13 pure CI, tests, and minimal LLVM execute bridge (no docs) (#125) Co-authored-by: Tomoaki <tomoaki@example.com> --------- Co-authored-by: Selfhosting Dev <selfhost@example.invalid> Co-authored-by: Tomoaki <tomoaki@example.com>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: Selfhost Minimal Smoke
|
|
|
|
on:
|
|
push:
|
|
branches: [ selfhosting-dev ]
|
|
paths:
|
|
- 'apps/selfhost-minimal/**'
|
|
- 'src/**'
|
|
- 'tools/**'
|
|
- 'Cargo.toml'
|
|
- 'Cargo.lock'
|
|
- '.github/workflows/selfhost-minimal.yml'
|
|
- 'docs/**'
|
|
pull_request:
|
|
branches: [ selfhosting-dev ]
|
|
paths:
|
|
- 'apps/selfhost-minimal/**'
|
|
- 'src/**'
|
|
- 'tools/**'
|
|
- 'Cargo.toml'
|
|
- 'Cargo.lock'
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
selfhost-minimal:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
NYASH_DISABLE_PLUGINS: '1'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Rust (stable)
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- name: Cache cargo registry and build
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.cargo/registry
|
|
~/.cargo/git
|
|
target
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-cargo-
|
|
|
|
- name: Build (release, cranelift-jit)
|
|
run: cargo build --release --features cranelift-jit
|
|
|
|
- name: Run selfhost-minimal smoke
|
|
run: bash tools/selfhost_vm_smoke.sh
|
|
|