-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (40 loc) · 1.17 KB
/
run-multiple-instances.yml
File metadata and controls
46 lines (40 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Run multiple simulators
on:
push:
branches: [ main, feat/*, rc/* ]
pull_request:
branches: [ main, feat/*, rc/* ]
jobs:
build:
name: Run instances
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.20.7
id: go
- name: Checkout mx-chain-go
uses: actions/checkout@v4
with:
repository: 'multiversx/mx-chain-go'
ref: 'feat/chain-go-sdk'
path: 'mx-chain-go'
- name: Checkout mx-chain-simulator-go
uses: actions/checkout@v4
with:
path: 'mx-chain-simulator-go'
- name: Get dependencies
run: |
cd mx-chain-simulator-go
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Run multiple instances
run: |
cd mx-chain-simulator-go/cmd/chainsimulator
go build
./chainsimulator --sovereign --fetch-configs-and-close
python3 ../../scripts/run-multiple-instances/script.py