lighthouse-pulse/Cross.toml
Shane Bammel 311f62da37 Add build automation
Produces optimized and portable linux binaries for both amd64 & arm64.
Publishes multi-arch docker images supporting both amd64 & arm64.
Automates gitlab releases.
2024-05-23 15:27:28 -05:00

11 lines
728 B
TOML

# Note: To enable working remote builds in gitlab pipelines, the Dockerfile.builder image is using the latest version of cross, straight from the git repo main branch.
# This latest version defaults to the :main tag for the worker images below, which no longer have the clang-5.0 package available.
# The images below are pinned to the latest cross release (0.2.5) in order to retain clang-5.0 lib compatibility with the upstream project.
[target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:0.2.5"
pre-build = ["apt-get install -y cmake clang-5.0"]
[target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5"
pre-build = ["apt-get install -y cmake clang-5.0"]