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.
Click to show internal directories.
Click to hide internal directories.