Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Jul 12, 2024
1 parent 2c78640 commit f284843
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ VERSION 0.8
namada:
FROM rust:1.78.0-bookworm

ARG nightly=nightly-2024-05-15-x86_64
ARG rocksdb_version=8.10.0
ARG gaia_version=15.2.0
ARG cometbft_version=0.37.2
Expand All @@ -18,9 +19,10 @@ namada:
RUN apt-get install -y gcc
RUN apt-get install -y parallel

RUN rustup toolchain install 1.78.0-x86_64-unknown-linux-gnu --no-self-update --component clippy,rustfmt,rls,rust-analysis,rust-docs,rust-src
RUN rustup toolchain install nightly-2024-05-15-x86_64-unknown-linux-gnu --no-self-update --component clippy,rustfmt,rls,rust-analysis,rust-docs,rust-src
RUN rustup toolchain install 1.78.0-x86_64-unknown-linux-gnu --no-self-update --component clippy,rustfmt,rls,rust-analysis,rust-docs,rust-src,llvm-tools-preview
RUN rustup target add wasm32-unknown-unknown
RUN rustup toolchain install $nightly-unknown-linux-gnu --no-self-update --component clippy,rustfmt,rls,rust-analysis,rust-docs,rust-src,llvm-tools-preview
RUN rustup target add --toolchain $nightly wasm32-unknown-unknown
RUN rustup default 1.78.0-x86_64-unknown-linux-gnu

# download masp artifacts
Expand All @@ -40,7 +42,7 @@ namada:

# install llvm-cov
RUN cargo install cargo-llvm-cov --locked
RUN cargo +nightly-2024-05-15-x86_64 install cargo-llvm-cov --locked
RUN cargo +$nightly install cargo-llvm-cov --locked

# download rocksdb
GIT CLONE --branch v$rocksdb_version [email protected]:facebook/rocksdb.git rocksdb
Expand Down

0 comments on commit f284843

Please sign in to comment.