-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor tweaks to run integration tests in CI
- Loading branch information
Showing
6 changed files
with
55 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ on: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Check-out code | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
FROM python:3.10-bullseye | ||
FROM python:3.10-slim-bullseye | ||
|
||
# Install Rust | ||
RUN apt update && apt install -y curl pkg-config libssl-dev build-essential | ||
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
RUN rustup toolchain install nightly | ||
|
||
# Install poetry | ||
RUN pip install poetry | ||
ENV PATH="${PATH}:/{$HOME}/.local/bin" | ||
ENV PATH="${PATH}:/root/.local/bin" | ||
RUN poetry config virtualenvs.in-project true | ||
|
||
# Install Solana Tool Suite | ||
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.14.11/install)" | ||
ENV PATH="${PATH}:/root/.local/share/solana/install/active_release/bin" | ||
|
||
ADD . /agent | ||
WORKDIR /agent | ||
|
||
RUN apt update && apt install -y pkg-config libssl-dev | ||
RUN cargo build --release |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters