File tree 1 file changed +61
-0
lines changed
1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ workflow_dispatch :
3
+
4
+ name : Build electrs
5
+
6
+ jobs :
7
+
8
+ build-electrs :
9
+ name : Build Electrs
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ os : [ ubuntu-20.04, macos-10.15 ]
15
+ env :
16
+ ELECTRS_TAG : " v0.8.10"
17
+
18
+ steps :
19
+ - name : Check out Electrs
20
+ uses : actions/checkout@master
21
+ with :
22
+ repository : romanz/electrs
23
+ ref : ${{ env.ELECTRS_TAG }}
24
+ - name : Build electrs
25
+ uses : actions-rs/cargo@v1
26
+ with :
27
+ command : build
28
+ args : --release
29
+ - name : Upload libs
30
+ uses : actions/upload-artifact@v2
31
+ with :
32
+ name : electrs_${{ matrix.os }}_${{ env.ELECTRS_TAG }}
33
+ path : target/release/electrs
34
+
35
+
36
+ build-electrs-esplora :
37
+ name : Build Electrs Esplora
38
+ runs-on : ${{ matrix.os }}
39
+ strategy :
40
+ fail-fast : false
41
+ matrix :
42
+ os : [ ubuntu-20.04, macos-10.15 ]
43
+ env :
44
+ ELECTRS_COMMIT : " a33e97e1a1fc63fa9c20a116bb92579bbf43b254"
45
+
46
+ steps :
47
+ - name : Check out Electrs
48
+ uses : actions/checkout@master
49
+ with :
50
+ repository : Blockstream/electrs
51
+ ref : ${{ env.ELECTRS_COMMIT }}
52
+ - name : Build electrs
53
+ uses : actions-rs/cargo@v1
54
+ with :
55
+ command : build
56
+ args : --release
57
+ - name : Upload libs
58
+ uses : actions/upload-artifact@v2
59
+ with :
60
+ name : electrs_esplora_${{ matrix.os }}_${{ env.ELECTRS_COMMIT }}
61
+ path : target/release/electrs
You can’t perform that action at this time.
0 commit comments