-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from solana-developers/master
v0.3.0
- Loading branch information
Showing
113 changed files
with
1,798 additions
and
372 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Run Integration Tests | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Run Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false # Continue with other tests even if one fails | ||
matrix: | ||
test_name: | ||
- test_phoenix_v1 | ||
- test_squads_v3 | ||
- test_drift_v2 | ||
- test_marginfi_v2 | ||
- test_local_example | ||
- test_verify_from_image | ||
- test_games_preset | ||
- test_agave_2_1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Cache dependencies | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build | ||
run: cargo build | ||
|
||
- name: Run ${{ matrix.test_name }} | ||
run: cargo test ${{ matrix.test_name }} -- --nocapture |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM --platform=linux/amd64 rust@sha256:b33af7ffbb3bf98940f8326d9563ca403e315a33d9434303df76bdc325b0f5c4 | ||
|
||
RUN apt-get update && apt-get install -qy git gnutls-bin curl | ||
|
||
# Download and modify the Solana install script to install the specified version | ||
RUN curl -sSfL "https://release.solana.com/v1.18.20/install" -o solana_install.sh && \ | ||
chmod +x solana_install.sh && \ | ||
sed -i "s/^SOLANA_INSTALL_INIT_ARGS=.*/SOLANA_INSTALL_INIT_ARGS=v1.10.1/" solana_install.sh && \ | ||
./solana_install.sh && \ | ||
rm solana_install.sh | ||
|
||
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH" | ||
WORKDIR /build | ||
CMD /bin/bash |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM --platform=linux/amd64 rust@sha256:b33af7ffbb3bf98940f8326d9563ca403e315a33d9434303df76bdc325b0f5c4 | ||
|
||
RUN apt-get update && apt-get install -qy git gnutls-bin curl | ||
|
||
# Download and modify the Solana install script to install the specified version | ||
RUN curl -sSfL "https://release.solana.com/v1.18.20/install" -o solana_install.sh && \ | ||
chmod +x solana_install.sh && \ | ||
sed -i "s/^SOLANA_INSTALL_INIT_ARGS=.*/SOLANA_INSTALL_INIT_ARGS=v1.10.10/" solana_install.sh && \ | ||
./solana_install.sh && \ | ||
rm solana_install.sh | ||
|
||
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH" | ||
WORKDIR /build | ||
CMD /bin/bash |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM --platform=linux/amd64 rust@sha256:b33af7ffbb3bf98940f8326d9563ca403e315a33d9434303df76bdc325b0f5c4 | ||
|
||
RUN apt-get update && apt-get install -qy git gnutls-bin curl | ||
|
||
# Download and modify the Solana install script to install the specified version | ||
RUN curl -sSfL "https://release.solana.com/v1.18.20/install" -o solana_install.sh && \ | ||
chmod +x solana_install.sh && \ | ||
sed -i "s/^SOLANA_INSTALL_INIT_ARGS=.*/SOLANA_INSTALL_INIT_ARGS=v1.10.11/" solana_install.sh && \ | ||
./solana_install.sh && \ | ||
rm solana_install.sh | ||
|
||
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH" | ||
WORKDIR /build | ||
CMD /bin/bash |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM --platform=linux/amd64 rust@sha256:b33af7ffbb3bf98940f8326d9563ca403e315a33d9434303df76bdc325b0f5c4 | ||
|
||
RUN apt-get update && apt-get install -qy git gnutls-bin curl | ||
|
||
# Download and modify the Solana install script to install the specified version | ||
RUN curl -sSfL "https://release.solana.com/v1.18.20/install" -o solana_install.sh && \ | ||
chmod +x solana_install.sh && \ | ||
sed -i "s/^SOLANA_INSTALL_INIT_ARGS=.*/SOLANA_INSTALL_INIT_ARGS=v1.10.12/" solana_install.sh && \ | ||
./solana_install.sh && \ | ||
rm solana_install.sh | ||
|
||
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH" | ||
WORKDIR /build | ||
CMD /bin/bash |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM --platform=linux/amd64 rust@sha256:b33af7ffbb3bf98940f8326d9563ca403e315a33d9434303df76bdc325b0f5c4 | ||
|
||
RUN apt-get update && apt-get install -qy git gnutls-bin curl | ||
|
||
# Download and modify the Solana install script to install the specified version | ||
RUN curl -sSfL "https://release.solana.com/v1.18.20/install" -o solana_install.sh && \ | ||
chmod +x solana_install.sh && \ | ||
sed -i "s/^SOLANA_INSTALL_INIT_ARGS=.*/SOLANA_INSTALL_INIT_ARGS=v1.10.13/" solana_install.sh && \ | ||
./solana_install.sh && \ | ||
rm solana_install.sh | ||
|
||
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH" | ||
WORKDIR /build | ||
CMD /bin/bash |
Oops, something went wrong.