Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Jul 13, 2024
1 parent 06bdc35 commit 1bf3869
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ namada:
RUN mv wasm-opt /usr/local/bin
RUN chmod +x /usr/local/bin/wasm-opt

RUN cargo cache --autoclean-expensive

SAVE IMAGE --push ghcr.io/heliaxdev/namada-ci:namada-latest ghcr.io/heliaxdev/namada-ci:namada-main

wasm:
Expand All @@ -99,8 +97,11 @@ wasm:
RUN rustup target add wasm32-unknown-unknown
RUN rustup default $toolchain-x86_64-unknown-linux-gnu

# install cargo binstall
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash

# install cargo cache
RUN cargo install cargo-cache
RUN cargo binstall cargo-cache --no-confirm

# download wasm-opt
RUN curl -o binaryen.tar.gz -LO https://github.com/WebAssembly/binaryen/releases/download/version_${wasm_opt_version}/binaryen-version_${wasm_opt_version}-x86_64-linux.tar.gz
Expand Down

0 comments on commit 1bf3869

Please sign in to comment.