-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Checkpoint * Checkpoint * Cleanup * Checkpoint, debug * Go * update comment * Add ci * Update solana workflow * Rename create_guardians * Signatures * Add some randomness * Add randomness * More randomness * Do it * Fix some clippies * Change trim signatures
- Loading branch information
Showing
12 changed files
with
577 additions
and
164 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Test Solana Contract | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- target_chains/solana/** | ||
- pythnet/pythnet_sdk/** | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- target_chains/solana/** | ||
- pythnet/pythnet_sdk/** | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: target_chains/solana | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Solana | ||
run: | | ||
sh -c "$(curl -sSfL https://release.solana.com/v1.16.20/install)" | ||
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | ||
- name: Build | ||
run: cargo-build-sbf | ||
- name: Run tests | ||
run: cargo-test-sbf |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.