Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Enable binaryen-sys build in ink! container #235

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dockerfiles/contracts-ci-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ dockerfiles/contracts-ci-linux/README.md" \
COPY utility/debian-llvm-clang.key /etc/apt/trusted.gpg.d/debian-archive-llvm.gpg
COPY utility/yarn.key /etc/apt/trusted.gpg.d/debian-yarn.gpg

# Necessary for building binaryen-sys, which is part of cargo-contract's
# binaryen dependency
ENV CXX="/usr/bin/clang++-8"

# install tools and dependencies
RUN set -eux; \
echo "deb https://dl.yarnpkg.com/debian/ stable main" \
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/ink-ci-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ dockerfiles/ink-ci-linux/README.md" \
io.parity.image.revision="${VCS_REF}" \
io.parity.image.created="${BUILD_DATE}"

# Necessary for building binaryen-sys, which is part of cargo-contract's
# binaryen dependency
ENV CXX="/usr/bin/clang++-8"

RUN set -eux; \
# The supported Rust nightly version must support the following components
# to allow for a functioning CI pipeline:
Expand Down