Skip to content

Commit d3bbaa3

Browse files
authored
Merge pull request #23 from cryptape/master
sync
2 parents 1360162 + a9fd6f8 commit d3bbaa3

12 files changed

+161
-155
lines changed

.github/workflows/ci-client-cli.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/ci-data-wasm.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
name: ci-data-wasm
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
419
push:
520
branches:
621
- master
@@ -24,6 +39,10 @@ jobs:
2439
node-version: '16'
2540
- name: prepare env
2641
id: runtest
42+
env:
43+
CKB_LIGHT_CLIENT_URL: ${{ github.event.inputs.ckb_light_client_url || 'https://github.com/nervosnetwork/ckb-light-client.git' }}
44+
CKB_LIGHT_CLIENT_BRANCH: ${{ github.event.inputs.ckb_light_client_branch || 'develop' }}
45+
RUSQLITE: ${{ github.event.inputs.rusqlite }}
2746
run: |
2847
bash prepare_wasm.sh
2948
npm install --save-dev mocha @types/mocha chai @types/chai

.github/workflows/ci-data.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
name: ci-data
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
419
push:
520
branches:
621
- master
@@ -35,6 +50,10 @@ jobs:
3550
${{ runner.os }}-node_modules-
3651
- name: prepare env
3752
id: runtest
53+
env:
54+
CKB_LIGHT_CLIENT_URL: ${{ github.event.inputs.ckb_light_client_url || 'https://github.com/nervosnetwork/ckb-light-client.git' }}
55+
CKB_LIGHT_CLIENT_BRANCH: ${{ github.event.inputs.ckb_light_client_branch || 'develop' }}
56+
RUSQLITE: ${{ github.event.inputs.rusqlite }}
3857
run: |
3958
npm install --save-dev mocha @types/mocha chai @types/chai
4059
sh prepare.sh

.github/workflows/ci-dev.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
name: ci-dev
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
419
push:
520
branches:
621
- master
@@ -24,6 +39,10 @@ jobs:
2439
node-version: '16'
2540
- name: prepare env
2641
id: runtest
42+
env:
43+
CKB_LIGHT_CLIENT_URL: ${{ github.event.inputs.ckb_light_client_url || 'https://github.com/nervosnetwork/ckb-light-client.git' }}
44+
CKB_LIGHT_CLIENT_BRANCH: ${{ github.event.inputs.ckb_light_client_branch || 'develop' }}
45+
RUSQLITE: ${{ github.event.inputs.rusqlite }}
2746
run: |
2847
npm install --save-dev mocha @types/mocha chai @types/chai
2948
sh prepare_dev.sh

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
name: ci
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
419
push:
520
branches:
621
- master

.github/workflows/ckb-index-panic.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/ckb-light-client-ci-wasm.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ name: ci-ckb-wasm
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
519
push:
620
branches:
721
- master
@@ -38,6 +52,10 @@ jobs:
3852
${{ runner.os }}-node_modules-
3953
- name: prepare env
4054
id: runtest
55+
env:
56+
CKB_LIGHT_CLIENT_URL: ${{ github.event.inputs.ckb_light_client_url || 'https://github.com/nervosnetwork/ckb-light-client.git' }}
57+
CKB_LIGHT_CLIENT_BRANCH: ${{ github.event.inputs.ckb_light_client_branch || 'develop' }}
58+
RUSQLITE: ${{ github.event.inputs.rusqlite }}
4159
run: |
4260
npm install --save-dev mocha @types/mocha chai @types/chai
4361
bash prepare_wasm.sh

.github/workflows/ckb-light-client-ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ name: ci-ckb
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
519
push:
620
branches:
721
- master
@@ -36,6 +50,10 @@ jobs:
3650
${{ runner.os }}-node_modules-
3751
- name: prepare env
3852
id: runtest
53+
env:
54+
CKB_LIGHT_CLIENT_URL: ${{ github.event.inputs.ckb_light_client_url || 'https://github.com/nervosnetwork/ckb-light-client.git' }}
55+
CKB_LIGHT_CLIENT_BRANCH: ${{ github.event.inputs.ckb_light_client_branch || 'develop' }}
56+
RUSQLITE: ${{ github.event.inputs.rusqlite }}
3957
run: |
4058
npm install --save-dev mocha @types/mocha chai @types/chai
4159
sh prepare.sh

.github/workflows/ckb-light-client-roll-back.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ name: ckb-light-client-roll-back
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
ckb_light_client_url:
7+
description: 'CKB Light Client Repository URL'
8+
required: false
9+
default: 'https://github.com/nervosnetwork/ckb-light-client.git'
10+
ckb_light_client_branch:
11+
description: 'CKB Light Client Branch'
12+
required: false
13+
default: 'develop'
14+
rusqlite:
15+
description: 'Enable rusqlite feature'
16+
required: false
17+
default: ''
18+
type: string
519

620

721

@@ -35,6 +49,10 @@ jobs:
3549
${{ runner.os }}-node_modules-
3650
- name: test
3751
id: runtest
52+
env:
53+
CKB_LIGHT_CLIENT_URL: ${{ github.event.inputs.ckb_light_client_url || 'https://github.com/nervosnetwork/ckb-light-client.git' }}
54+
CKB_LIGHT_CLIENT_BRANCH: ${{ github.event.inputs.ckb_light_client_branch || 'develop' }}
55+
RUSQLITE: ${{ github.event.inputs.rusqlite }}
3856
run: |
3957
npm install --save-dev mocha @types/mocha chai @types/chai
4058
sh prepare.sh

.github/workflows/miner-load.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)