fix(chains): update nomic chain build target

This commit is contained in:
Prad Nukala 2024-08-28 20:14:12 -04:00
parent 8b9fc949e6
commit 22e0afa00f
2 changed files with 22 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.21-alpine AS go-builder
FROM golang:1.22-alpine AS go-builder
SHELL ["/bin/sh", "-ecuxo", "pipefail"]

View File

@ -9,3 +9,24 @@
build-env:
- LEDGER_ENABLED=false
- BUILD_TAGS=muslc
- name: evmos
github-organization: tharsis
github-repo: evmos
dockerfile: cosmos
build-target: make install
binaries:
- /go/bin/evmosd
- name: nomic
github-organization: nomic-io
github-repo: nomic
dockerfile: cargo
build-target: |
TOOLCHAIN=$(cat rust-toolchain.toml | grep channel | awk '{print $3}' | tr -d '"')
rustup component add rust-src --toolchain ${TOOLCHAIN}-$(uname -m)-unknown-linux-gnu
cargo install --locked --path . -Zbuild-std
binaries:
- /build/nomic/target/${ARCH}-unknown-linux-gnu/release/nomic
# TODO remove platforms here so that both linux/amd64 and linux/arm64 are built
# once these changes are merged: https://github.com/nomic-io/orga/pull/154
platforms:
- linux/amd64