File tree Expand file tree Collapse file tree 3 files changed +75
-1
lines changed Expand file tree Collapse file tree 3 files changed +75
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Anchor Programs
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main"]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build :
14
+ name : Build
15
+ runs-on : solanadevelopers/solana-workshop-image-anchor
16
+ strategy :
17
+ matrix :
18
+ {
19
+ dir :
20
+ ["basics/account-data/anchor", "basics/checking-accounts/anchor"],
21
+ }
22
+
23
+ steps :
24
+ - name : Checkout code
25
+ uses : actions/checkout@v3
26
+
27
+ - name : Build program
28
+ working-directory : ${{ matrix.dir }}
29
+ run : anchor build
Original file line number Diff line number Diff line change 12
12
jobs :
13
13
build :
14
14
name : Build
15
- runs-on : solanadevelopers/solana-workshop-image
15
+ runs-on : solanadevelopers/solana-workshop-image:0.0.2
16
16
strategy :
17
17
matrix :
18
18
{
19
19
dir :
20
20
[
21
21
" basics/account-data/native/program" ,
22
22
" basics/checking-accounts/native/program" ,
23
+ " basics/close-account/native/program" ,
24
+ " basics/counter/native" ,
25
+ " basics/create-account/native/program" ,
26
+ " basics/cross-program-invocation/native/program" ,
27
+ " basics/hello-solana/native/program" ,
28
+ " basics/pda-rent-payer/native/program" ,
29
+ " basics/processing-instructions/native/program" ,
30
+ " basics/program-derived-addresses/native/program" ,
31
+ " basics/realloc/native/program" ,
32
+ " basics/rent/native/program" ,
33
+ " basics/repository-layout/native/program" ,
34
+ " basics/transfer-sol/native/program" ,
23
35
],
24
36
}
25
37
Original file line number Diff line number Diff line change
1
+ name : Native Programs
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main"]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build :
14
+ name : Build
15
+ runs-on : solanadevelopers/solana-workshop-image-seahorse
16
+ strategy :
17
+ matrix :
18
+ {
19
+ dir :
20
+ [
21
+ " basics/counter/seahorse" ,
22
+ " basics/hello-solana/seahorse" ,
23
+ " basics/transfer-sol/seahorse" ,
24
+ ],
25
+ }
26
+
27
+ steps :
28
+ - name : Checkout code
29
+ uses : actions/checkout@v3
30
+
31
+ - name : Build program
32
+ working-directory : ${{ matrix.dir }}
33
+ run : cargo build-sbf --verbose
You can’t perform that action at this time.
0 commit comments