Skip to content

Commit

Permalink
fix: create portable stacks-node binary builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x committed Apr 4, 2024
1 parent bc92aad commit 76f0557
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
CXX_aarch64_unknown_linux_gnu: aarch64-linux-gnu-g++
AR_aarch64_unknown_linux_gnu: aarch64-linux-gnu-ar
run: |
cargo build --package stacks-node --bin stacks-node --release --target x86_64-unknown-linux-gnu --target aarch64-unknown-linux-gnu
cargo build --package stacks-node --bin stacks-node --release --target x86_64-unknown-linux-gnu --target aarch64-unknown-linux-gnu --features portable --profile release-lite
mkdir -p ../bin/x86_64-unknown-linux-gnu ../bin/aarch64-unknown-linux-gnu
cp target/x86_64-unknown-linux-gnu/release/stacks-node ../bin/x86_64-unknown-linux-gnu
cp target/aarch64-unknown-linux-gnu/release/stacks-node ../bin/aarch64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN <<EOF
apt-get update && apt-get install -y libclang-dev
rustup toolchain install stable
rustup component add rustfmt --toolchain stable
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --package stacks-node --bin stacks-node --release
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --package stacks-node --bin stacks-node --features portable --profile release-lite
EOF

FROM debian:bookworm-backports
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.stacks-node
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN git init && \
git -c protocol.version=2 fetch --depth=1 origin "$GIT_COMMIT" && \
git reset --hard FETCH_HEAD

RUN cargo build --package stacks-node --bin stacks-node --release
RUN cargo build --package stacks-node --bin stacks-node --features portable --profile release-lite

FROM debian:bullseye-backports

Expand Down

0 comments on commit 76f0557

Please sign in to comment.