-
Notifications
You must be signed in to change notification settings - Fork 200
45 lines (39 loc) · 1.21 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
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: run
run: pwd
- 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