CI - use multiple entrypoints for test_firedancer_testnet.sh #518
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Firedancer | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review] | |
merge_group: | |
jobs: | |
firedancer-tests: | |
runs-on: private | |
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 | |
- uses: ./.github/actions/hugepages | |
with: | |
count_gigantic: 128 | |
count_huge: 1000 # TODO: this is required until we can handle anonymouse workspaces and loose huge pages in fddev | |
- name: build | |
run: | | |
./contrib/make-j fddev all | |
- name: test firedancer - local cluster | |
run: | | |
sudo prlimit --pid=$$ --nofile=1048576 | |
sudo prlimit --pid=$$ --memlock=unlimited | |
./contrib/test/test_firedancer.sh |