File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,38 @@ jobs:
28
28
sudo apt-get -y install python3 python3-pip
29
29
# Install other
30
30
sudo apt-get -y install libudev-dev libusb-1.0-0-dev
31
+ - run :
32
+ name : Build token-contracts
33
+ command : |
34
+ cd $SINGNET_REPOS
35
+ git https://github.com/singnet/token-contracts.git
36
+ cd token-contracts
37
+ npm install
38
+ npm run-script compile
39
+ npm run-script package-npm
31
40
- run :
32
41
name : Build platform-contracts
33
42
command : |
34
43
cd $SINGNET_REPOS
35
44
git clone https://github.com/singnet/platform-contracts.git
36
45
cd platform-contracts
37
- npm install
38
46
npm install ganache-cli
47
+ # install token-contracts from local dir
48
+ npm install $SINGNET_REPOS/token-contracts/build/npm-module
49
+ npm install
50
+ npm run-script compile
51
+ npm run-script package-npm
39
52
- run :
40
53
name : Build snet-cli
41
54
command : |
42
55
cd $SINGNET_REPOS
43
56
git clone https://github.com/singnet/snet-cli.git
44
57
cd snet-cli
58
+ # install token-contracts and platform-contracts from local dir
59
+ cd blockchain/
60
+ npm install $SINGNET_REPOS/token-contracts/build/npm-module
61
+ npm install $SINGNET_REPOS/platform-contracts/build/npm-module
62
+ cd ..
45
63
./scripts/blockchain install
46
64
pip3 install -e .
47
65
- run :
51
69
cd $SINGNET_REPOS
52
70
git clone https://github.com/singnet/snet-daemon.git
53
71
cd snet-daemon
72
+ # install token-contracts and platform-contracts from local dir
73
+ cd resources/blockchain
74
+ npm install $SINGNET_REPOS/token-contracts/build/npm-module
75
+ npm install $SINGNET_REPOS/platform-contracts/build/npm-module
76
+ cd ..
54
77
./scripts/install
55
78
./scripts/build linux amd64
56
79
- run :
You can’t perform that action at this time.
0 commit comments