forked from strangelove-ventures/heighliner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathavalanche.yaml
23 lines (23 loc) · 847 Bytes
/
avalanche.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Avalanche
- name: avalanche
github-organization: ava-labs
github-repo: avalanchego
dockerfile: avalanche
pre-build: |
startTime="$(sed -n 's|.*"startTime":\([^"]*\),.*|\1|p' genesis/genesis_local.json)"
nowTime="$(date +%s)"
if [ $nowTime -gt $startTime ]; then
sed "s/$startTime/$nowTime/g" genesis/genesis_local.json > genesis/genesis_local_tmp.json
mv genesis/genesis_local_tmp.json genesis/genesis_local.json
fi
build-target: |
set -eux
# Build AvalancheGo
bash scripts/build.sh
# Build SubnetEVM
git clone -b v0.5.9-ibc-v0.1.0 --single-branch https://github.com/ConsiderItDone/subnet-evm.git
cd subnet-evm
bash scripts/build.sh
binaries:
- build/avalanchego
- /go/src/github.com/ava-labs/avalanchego/build/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy