@@ -61,57 +61,53 @@ jobs:
61
61
gcc -v
62
62
g++ -v
63
63
cmake --version
64
- git clone https://github.com/paritytech/parity-ethereum.git
65
- cd parity-ethereum
66
- git checkout stable
67
- # cd ..
68
- # git clone https://github.com/dtolnay/syn.git
69
- # cd syn
70
- # cargo build
71
- cargo build -j 1
72
- # cargo build --verbose --release --features final
73
- # strip /build/parity-ethereum/target/release/parity
74
- # file /build/parity-ethereum/target/release/parity
75
- - checkout
76
- - run :
77
- name : Get Submodules
78
- command : |
79
- git submodule update --init
80
- - restore_cache :
81
- keys :
82
- - deps3-{{ .Branch }}-{{ .Revision }}
83
- # - deps3-{{ .Branch }}-cargo-{{ checksum "kernel-ewasm/Cargo.lock" }}
84
- - deps3-{{ .Branch }}-
85
64
- run :
86
65
name : Install Parity
87
66
command : |
88
- # apt install -y gcc g++ pkg-config file make cmake libgflags-dev perl yasm
89
- cargo install --git https://github.com/paritytech/parity-ethereum.git --bin parity parity-ethereum
90
- # cargo install --git https://github.com/Daohub-io/parity-ethereum.git --bin parity parity-ethereum
91
- - run :
92
- name : Start local Ethereum network
93
- command : |
94
- cd kernel-ewasm
95
- # we need to run parity once to set up the accounts and keys
96
- # this only needs to be active for a few seconds (hence timeout)
97
- timeout 5 parity --config dev || true
98
- # We then run parity properly, now unlocking the previously setup
99
- # account
100
- parity --config dev --chain ./wasm-dev-chain.json --jsonrpc-apis=all --ws-apis=all --reseal-min-period 0 --gasprice 0
101
- background : true
102
- - run :
103
- name : Wait for Parity startup
104
- command : sleep 10
105
- - run :
106
- name : Build Rust Component
107
- command : |
108
- cd kernel-ewasm && ./build.sh
67
+ git clone https://github.com/paritytech/parity-ethereum.git
68
+ # git clone https://github.com/Daohub-io/parity-ethereum.git
69
+ cd parity-ethereum
70
+ git checkout stable
71
+ # cargo build --release --features final -j 1
72
+ cargo build --features final -j 1
73
+ strip /build/parity-ethereum/target/release/parity
74
+ file /build/parity-ethereum/target/release/parity
75
+ cp /build/parity-ethereum/target/release/parity /usr/bin/parity
76
+ parity --version
109
77
- save_cache :
110
78
key : deps3-{{ .Branch }}-cargo # -{{ checksum "kernel-ewasm/Cargo.lock" }}
111
79
paths :
112
80
- " ~/.cargo"
113
- - run :
114
- name : Test Rust Component
115
- command : |
116
- cd kernel-ewasm && npm install
117
- npm run test
81
+ # - checkout
82
+ # - run:
83
+ # name: Get Submodules
84
+ # command: |
85
+ # git submodule update --init
86
+ # - restore_cache:
87
+ # keys:
88
+ # - deps3-{{ .Branch }}-{{ .Revision }}
89
+ # # - deps3-{{ .Branch }}-cargo-{{ checksum "kernel-ewasm/Cargo.lock" }}
90
+ # - deps3-{{ .Branch }}-
91
+ # - run:
92
+ # name: Start local Ethereum network
93
+ # command: |
94
+ # cd kernel-ewasm
95
+ # # we need to run parity once to set up the accounts and keys
96
+ # # this only needs to be active for a few seconds (hence timeout)
97
+ # timeout 5 parity --config dev || true
98
+ # # We then run parity properly, now unlocking the previously setup
99
+ # # account
100
+ # parity --config dev --chain ./wasm-dev-chain.json --jsonrpc-apis=all --ws-apis=all --reseal-min-period 0 --gasprice 0
101
+ # background: true
102
+ # - run:
103
+ # name: Wait for Parity startup
104
+ # command: sleep 10
105
+ # - run:
106
+ # name: Build Rust Component
107
+ # command: |
108
+ # cd kernel-ewasm && ./build.sh
109
+ # - run:
110
+ # name: Test Rust Component
111
+ # command: |
112
+ # cd kernel-ewasm && npm install
113
+ # npm run test
0 commit comments