Skip to content

Commit

Permalink
CI: attempt CI debug
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Apr 29, 2024
1 parent ed212a1 commit cb5c7c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,17 @@ ARG DOJO_BRANCH
RUN curl -L https://install.dojoengine.org | bash
RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash
ENV PATH=${PATH}:/root/.dojo/bin

RUN if [ "$DOJO_VERSION" = "stable" ] ; then \
dojoup; \
elif [ -n "$DOJO_BRANCH" ] ; then \
dojoup -b "$DOJO_BRANCH"; \
elif [ -n "$DOJO_VERSION" ] ; then \
#dojoup -b "$DOJO_BRANCH"; \
mkdir -p ~/.dojo/bin; \
cargo +1.76.0 install --git https://github.com/dojoengine/dojo --branch "${DOJO_BRANCH}" katana --force --root ~/.dojo/ ; \
cargo +1.76.0 install --git https://github.com/dojoengine/dojo --branch "${DOJO_BRANCH}" sozo --force --root ~/.dojo/ ; \
cargo +1.76.0 install --git https://github.com/dojoengine/dojo --branch "${DOJO_BRANCH}" torii --force --root ~/.dojo/ ; \
cargo +1.76.0 install --git https://github.com/dojoengine/dojo --branch "${DOJO_BRANCH}" dojo-language-server --force --root ~/.dojo/ ; \
elif [ -n "$DOJO_VERSION" ] ; then \
dojoup -v "$DOJO_VERSION"; \
else \
dojoup; \
Expand Down

0 comments on commit cb5c7c6

Please sign in to comment.