# Install Guide `xburner` can currently be used in two ways: - download a release archive - pull the container image - build from source ## Release Archives Release archives are published for tagged releases. Each archive contains: - `xburner` - `xburner-bin` - `lib/` when platform-specific runtime libraries are bundled - `README.md` - `CHANGELOG.md` - `LICENSE` - `NOTICE` - `INSTALL.md` - `licenses/` Typical flow: ```sh tar -xzf xburner--.tar.gz cd xburner- ./xburner --version ``` `xburner` is a launcher script. When bundled shared libraries are present, it arranges the runtime library path and then execs `xburner-bin`. ## Container Image Release tags also publish a multi-architecture container image to GHCR: ```sh docker pull ghcr.io/ucpr/xburner: docker run --rm ghcr.io/ucpr/xburner: --version ``` To run a scenario, mount the config into the container: ```sh docker run --rm \ -v "$PWD:/configs:ro" \ ghcr.io/ucpr/xburner: run /configs/scenario.toml ``` Examples: - [docker/docker-compose.yml](../docker/docker-compose.yml) - [docker/k8s-job.yaml](../docker/k8s-job.yaml) ## Build From Source Requirements: - Zig `0.15.2` - Git - Go - CMake - Python 3 - a working C/C++ toolchain - Homebrew `grpc` - Homebrew `pkgconf` Setup: ```sh brew install grpc pkgconf go sh scripts/init.sh zig build -Doptimize=ReleaseFast ./zig-out/bin/xburner --version ``` ## Workflow Guest Sample To rebuild the sample workflow guest after building the host binary: ```sh sh scripts/build_workflow_sample_wasm.sh ``` Language-specific helpers are also available: ```sh sh scripts/build_workflow_wasm.sh path/to/guest.c path/to/guest.wasm sh scripts/build_workflow_rust_wasm.sh path/to/guest.rs path/to/guest.wasm sh scripts/build_workflow_go_wasm.sh path/to/guest.go path/to/guest.wasm ``` Validation examples: ```sh ./zig-out/bin/xburner validate path/to/scenario.toml ./zig-out/bin/xburner validate --wasm-backend wasm3 path/to/go-scenario.toml ``` Current note: - the Go helper targets `wasip1` and is validated with the `wasm3` backend ## Notes - release archives are intended for running the host binary, not for rebuilding third-party dependencies - source builds remain the recommended path for development and CI