Skip to content

Commit b01e68c

Browse files
committed
test anchor
1 parent 0d82651 commit b01e68c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/solana.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88
- dev
99
jobs:
10-
solana:
10+
solana-sbf:
1111
runs-on: ubuntu-20.04
1212
env:
1313
RUSTFLAGS: -Dwarnings
@@ -110,3 +110,16 @@ jobs:
110110
for p in "${BPF_PACKAGES[@]}"; do
111111
cargo test-sbf --manifest-path "${p}"
112112
done
113+
anchor-test:
114+
name: Run anchor test
115+
runs-on: ubuntu-latest
116+
# Anchor Docker image: https://www.anchor-lang.com/docs/verifiable-builds#images
117+
container: backpackapp/build:v0.29.0
118+
steps:
119+
- uses: actions/checkout@v4
120+
- name: Set default Rust toolchain
121+
run: rustup default stable
122+
working-directory: ./solana
123+
- name: anchor test --arch sbf
124+
run: anchor test --arch sbf
125+
working-directory: ./solana

0 commit comments

Comments
 (0)