Skip to content

Add Privacy and Terms pages on xo.run #19

Add Privacy and Terms pages on xo.run

Add Privacy and Terms pages on xo.run #19

Workflow file for this run

# Linux PR gate: build xo + smoke + echo26.
# Full multi-OS release builds stay in ci.yml (release published only).
name: PR
on:
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_BUILD_RUSTC_WRAPPER: ""
RUSTC_WRAPPER: ""
jobs:
test-linux:
name: test-linux (smoke + echo26)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install LLVM 22 (official release tarball)
shell: bash
run: |
set -euo pipefail
prefix="${RUNNER_TEMP}/llvm-22"
path="$(scripts/ci/llvm.sh linux-x64 "$prefix")"
echo "LLVM_SYS_221_PREFIX=$path" >> "$GITHUB_ENV"
echo "LLVM_CONFIG_PATH=$path/bin/llvm-config" >> "$GITHUB_ENV"
echo "$path/bin" >> "$GITHUB_PATH"
if [[ -d "$path/lib" ]]; then
echo "LIBRARY_PATH=$path/lib${LIBRARY_PATH:+:$LIBRARY_PATH}" >> "$GITHUB_ENV"
echo "LD_LIBRARY_PATH=$path/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV"
fi
- name: Install mold + clang (AOT link)
run: sudo apt-get update && sudo apt-get install -y mold clang
- name: Build xo + e26 + runtime staticlib (debug)
run: |
set -euo pipefail
cargo build -p xo -p e26 -p echo_runtime
scripts/ci/stage-runtime-lib.sh debug
- name: Smoke — cargo test -p xo (non-JIT unit tests)
# REPL integration tests use LLVM JIT (run_jit_ir) and currently SIGSEGV
# under CI/host LLVM loads; language proof is AOT smoke + echo26 below.
run: |
cargo test -p xo -- --test-threads=1 \
brace_delta \
buffer_waits \
classify_bare \
meta_hint \
default_opt \
short_and_long \
invalid_opt \
ir_run_build_share \
aot_cache_key
- name: Smoke — xo run hello (AOT)
run: |
set -euo pipefail
test -f target/debug/libecho_runtime.a
./target/debug/xo run --no-cache examples/misc/hello.echo
- name: Hard gate — scripts/gate echo26
run: scripts/gate echo26
env:
GATE_ECHO_COMMANDS: "1"