build

command
v1.58.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Command build compiles the Encore release artifacts for one or more platforms and uploads them to the encore-releases2 bucket under the release prefix.

Configuration (environment variables):

R_VERSION         release version, e.g. "v1.2.3-nightly.20231231"
R_RELEASE_PREFIX  object prefix in the bucket; defaults to "encore/<version>"
R_ENCORE_REPO     path to the encore repository checkout
R_BUILD           space-separated platform specs, e.g.
                  "linux/amd64:all,gort,npmpkg,tsparserwasm darwin/arm64:all windows/amd64:all,-jsruntime"
R_MACOS_SDK       optional macOS SDK path, only for cross-compiling to darwin from another OS
RUNNER_TEMP       scratch directory

Each platform is normally built natively on a runner of that OS (a macOS host builds both darwin architectures), with zig providing the C toolchain on Linux and Windows; see the workflow.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址