This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -40,19 +40,16 @@ RUN set -eux; \
4040 mv codecov /usr/local/bin/codecov && \
4141 rm -f codecov.SHA256SUM codecov.SHA256SUM.sig && \
4242# `binaryen` is needed by `cargo-contract` for optimizing Wasm files.
43- # We fetch the latest release which contains a Linux binary. There is
44- # currently an issue with not all releases containing a Linux binary
45- # (https://github.com/WebAssembly/binaryen/issues/4148). Once that one
46- # is fixed we can always use the latest release again.
43+ # We fetch the latest release which contains a Linux binary.
4744 curl --silent https://api.github.com/repos/WebAssembly/binaryen/releases | \
4845 egrep --only-matching 'https://github.com/WebAssembly/binaryen/releases/download/version_[0-9]+/binaryen-version_[0-9]+-x86_64-linux.tar.gz' | \
4946 head -n1 | \
5047 xargs curl -L -O && \
51- tar -xvzf binaryen-version_ *-x86_64-linux.tar.gz && \
48+ tar -xvzf binaryen-*-x86_64-linux.tar.gz && \
5249 rm binaryen-version_*-x86_64-linux.tar.gz && \
53- chmod +x binaryen-version_ */bin/wasm-opt && \
54- mv binaryen-version_ */bin/wasm-opt /usr/local/bin/ && \
55- rm -rf binaryen-version_ */ && \
50+ chmod +x binaryen-*/bin/wasm-opt && \
51+ mv binaryen-*/bin/wasm-opt /usr/local/bin/ && \
52+ rm -rf binaryen-*/ && \
5653# The supported Rust nightly version must support the following components
5754# to allow for a functioning CI pipeline:
5855#
You can’t perform that action at this time.
0 commit comments