Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Jul 11, 2024
1 parent 410b802 commit 0eff1c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
cancel-in-progress: true

permissions:
packages: write
Expand Down
11 changes: 7 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ namada:
# install sccache
RUN cargo install sccache --locked

# install cargo sweep
RUN cargo install cargo-sweep --locked
# install cargo cache
RUN cargo install cargo-cache

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

# install rocksdb
# download rocksdb
GIT CLONE --branch v$rocksdb_version [email protected]:facebook/rocksdb.git rocksdb
RUN cd rocksdb && make shared_lib
RUN echo /rocksdb | tee /etc/ld.so.conf.d/rocksdb.conf
RUN ldconfig

# install mold
# download mold
RUN curl -o mold.tar.gz -LO https://github.com/rui314/mold/releases/download/v2.32.1/mold-2.32.1-x86_64-linux.tar.gz
RUN tar --strip-components 2 -xvzf mold.tar.gz mold-2.32.1-x86_64-linux/bin/mold
RUN mv mold /usr/local/bin
Expand Down Expand Up @@ -88,6 +88,9 @@ wasm:
RUN rustup toolchain install 1.78.0 --profile minimal
RUN rustup target add wasm32-unknown-unknown

# install cargo cache
RUN cargo install cargo-cache

# 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
RUN tar --strip-components 2 -xvzf binaryen.tar.gz binaryen-version_${wasm_opt_version}/bin/wasm-opt
Expand Down

0 comments on commit 0eff1c2

Please sign in to comment.