Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 961c49a

Browse files
authored
Add bpf CI with solana binaries (#18)
1 parent 489773e commit 961c49a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- name: Install dependencies
1919
run: sudo apt-get install libudev-dev
20+
- name: Install Solana Binaries
21+
run: sh -c "$(curl -sSfL https://release.solana.com/v1.8.14/install)"
2022
- name: Build
2123
run: cargo build --verbose
2224
- name: Run tests
2325
run: cargo test --verbose
26+
- name: Build BPF
27+
run: PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" cargo build-bpf --verbose
28+
- name: Run BPF tests
29+
run: PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" cargo test-bpf --verbose

0 commit comments

Comments
 (0)