phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
6
.github/workflows/fast-smoke.yml
vendored
6
.github/workflows/fast-smoke.yml
vendored
@ -43,21 +43,21 @@ jobs:
|
||||
- name: EXE smoke (ternary_basic -> 10)
|
||||
run: |
|
||||
mkdir -p tmp
|
||||
./target/release/nyash --emit-mir-json tmp/tb.json --backend mir apps/tests/ternary_basic.nyash
|
||||
./target/release/nyash --emit-mir-json tmp/tb.json --backend mir apps/tests/ternary_basic.hako
|
||||
./target/release/ny-llvmc --in tmp/tb.json --emit exe --nyrt target/release --out tmp/tb
|
||||
set +e; ./tmp/tb >/dev/null 2>&1; CODE=$?; set -e
|
||||
echo "exit=$CODE"; test "$CODE" -eq 10
|
||||
|
||||
- name: EXE smoke (ternary_nested -> 50)
|
||||
run: |
|
||||
./target/release/nyash --emit-mir-json tmp/tn.json --backend mir apps/tests/ternary_nested.nyash
|
||||
./target/release/nyash --emit-mir-json tmp/tn.json --backend mir apps/tests/ternary_nested.hako
|
||||
./target/release/ny-llvmc --in tmp/tn.json --emit exe --nyrt target/release --out tmp/tn
|
||||
set +e; ./tmp/tn >/dev/null 2>&1; CODE=$?; set -e
|
||||
echo "exit=$CODE"; test "$CODE" -eq 50
|
||||
|
||||
- name: EXE smoke (peek_expr_block -> 1)
|
||||
run: |
|
||||
./target/release/nyash --emit-mir-json tmp/pb.json --backend mir apps/tests/peek_expr_block.nyash
|
||||
./target/release/nyash --emit-mir-json tmp/pb.json --backend mir apps/tests/peek_expr_block.hako
|
||||
./target/release/ny-llvmc --in tmp/pb.json --emit exe --nyrt target/release --out tmp/pb
|
||||
set +e; ./tmp/pb >/dev/null 2>&1; CODE=$?; set -e
|
||||
echo "exit=$CODE"; test "$CODE" -eq 1
|
||||
|
||||
4
.github/workflows/min-gate.yml
vendored
4
.github/workflows/min-gate.yml
vendored
@ -203,9 +203,9 @@ jobs:
|
||||
NYASH_MACRO_BOX: "1"
|
||||
NYASH_MACRO_BOX_NY: "1"
|
||||
NYASH_MACRO_BOX_CHILD_RUNNER: "0"
|
||||
NYASH_MACRO_BOX_NY_PATHS: apps/macros/examples/upper_string_macro.nyash
|
||||
NYASH_MACRO_BOX_NY_PATHS: apps/macros/examples/upper_string_macro.hako
|
||||
run: |
|
||||
set -euo pipefail
|
||||
out=$(./target/release/nyash --macro-preexpand --backend vm apps/tests/macro_golden_upper_string.nyash 2>&1)
|
||||
out=$(./target/release/nyash --macro-preexpand --backend vm apps/tests/macro_golden_upper_string.hako 2>&1)
|
||||
echo "$out"
|
||||
echo "$out" | grep -q "HELLO"
|
||||
|
||||
Reference in New Issue
Block a user