Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/pyth-sdk-example-anchor-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential protobuf-compiler
- name: Install solana binaries
run: |
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Install anchor binaries
run: |
cargo install --git https://github.com/project-serum/anchor avm --locked --force
avm install latest
avm use latest
avm install 0.28.0
avm use 0.28.0
- name: Build
run: anchor build
5 changes: 2 additions & 3 deletions .github/workflows/pyth-sdk-example-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
- name: Install solana binaries
run: |
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Build
run: scripts/build.sh
6 changes: 3 additions & 3 deletions .github/workflows/pyth-sdk-solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
- name: Build
run: cargo build --verbose
- name: Run tests
Expand All @@ -31,10 +31,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
- name: Install Solana Binaries
run: |
sh -c "$(curl -sSfL https://release.solana.com/v1.18.4/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Build
run: cargo build --verbose
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.swp
debug
target
Cargo.lock
artifacts/

# IntelliJ temp files
Expand Down
Loading