mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
fix(chains): update nomic chain build target
This commit is contained in:
parent
8b9fc949e6
commit
22e0afa00f
@ -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"]
|
SHELL ["/bin/sh", "-ecuxo", "pipefail"]
|
||||||
|
|
||||||
|
21
chains.yaml
21
chains.yaml
@ -9,3 +9,24 @@
|
|||||||
build-env:
|
build-env:
|
||||||
- LEDGER_ENABLED=false
|
- LEDGER_ENABLED=false
|
||||||
- BUILD_TAGS=muslc
|
- 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user