Skip to content

fix: sticky batch index bug + aggressive peer eviction for IBD #236

fix: sticky batch index bug + aggressive peer eviction for IBD

fix: sticky batch index bug + aggressive peer eviction for IBD #236

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and test with AddressSanitizer
env:
# Suppress known SQLite memory allocations that LSAN misreports as leaks
LSAN_OPTIONS: suppressions=${{ github.workspace }}/lsan.supp
run: |
make clean
make test \
CFLAGS="-std=c11 -Wall -Wextra -Wpedantic -O1 -g -fsanitize=address -fno-omit-frame-pointer -Iinclude -pthread" \
LDFLAGS="-pthread -fsanitize=address -lm"
- name: Build main binary
run: make all