File tree 1 file changed +19
-2
lines changed
1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 7
7
- main
8
8
- dev
9
9
jobs :
10
- solana :
10
+ solana-sbf :
11
+ name : Solana Cargo SBF
11
12
runs-on : ubuntu-20.04
12
13
env :
13
14
RUSTFLAGS : -Dwarnings
90
91
sh -c "$(curl -sSfL https://release.solana.com/v${SOLANA_VERSION}/install)"
91
92
~/.local/share/solana/install/active_release/bin/sdk/sbf/scripts/install.sh
92
93
93
- - name : Run unit tests
94
+ - name : cargo build-sbf && cargo test-sbf
94
95
env :
95
96
RUST_BACKTRACE : " 1"
96
97
run : |
@@ -110,3 +111,19 @@ jobs:
110
111
for p in "${BPF_PACKAGES[@]}"; do
111
112
cargo test-sbf --manifest-path "${p}"
112
113
done
114
+ anchor-test :
115
+ name : Anchor Test
116
+ runs-on : ubuntu-latest
117
+ # Anchor Docker image: https://www.anchor-lang.com/docs/verifiable-builds#images
118
+ container : backpackapp/build:v0.29.0
119
+ steps :
120
+ - uses : actions/checkout@v4
121
+ - name : Set default Rust toolchain
122
+ run : rustup default stable
123
+ working-directory : ./solana
124
+ - name : yarn
125
+ run : yarn
126
+ working-directory : ./solana
127
+ - name : anchor test --arch sbf
128
+ run : anchor test --arch sbf
129
+ working-directory : ./solana
You can’t perform that action at this time.
0 commit comments