-
Notifications
You must be signed in to change notification settings - Fork 193
61 lines (53 loc) · 1.67 KB
/
test_firedancer_localnet.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Firedancer Localnet
on:
workflow_call:
workflow_dispatch:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
integration-test:
runs-on: [self-hosted, 512G]
if: github.event.pull_request.draft == false
env:
CC: gcc
EXTRAS: no-solana
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/deps
- name: install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolcahin: stable
- name: clone agave
run: |
git clone --depth 1 --branch v1.18.15 https://github.com/anza-xyz/agave.git
- name: build agave
run: |
cd agave
./cargo build --release \
--package solana-genesis \
--package agave-validator \
--package solana-cli \
--package solana-keygen
cd ..
- name: build
run: |
./contrib/make-j fddev
- name: stop any dead runs - local cluster
run: |
sudo killall -9 -q solana-validator || true
sudo killall -9 -q fddev || true
- uses: ./.github/actions/hugepages
with:
count_gigantic: 128
count_huge: 100 # TODO: this is required until we can handle anonymouse workspaces and loose huge pages in fddev
- name: test firedancer - local cluster
run: |
sudo prlimit --pid=$$ --nofile=1048576
sudo prlimit --pid=$$ --memlock=unlimited
# ./contrib/test/test_firedancer.sh