Skip to content

Merge pull request #36 from brunoerg/2024-06-readme #35

Merge pull request #36 from brunoerg/2024-06-readme

Merge pull request #36 from brunoerg/2024-06-readme #35

Workflow file for this run

name: Check
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install rust-toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install LLVM and Clang
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo ln -sfT clang++-18 /usr/bin/clang++
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install llvm autoconf automake libtool
fi
shell: bash
- name: Build
timeout-minutes: 10
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
export PATH=/usr/local/bin:$PATH
export CC=clang
export CXX=clang++
export PATH="$(brew --prefix)/opt/llvm/bin:$PATH"
fi
make -j4
- name: Test
run: ./bitcoinfuzz -detect_leaks=0 -runs=0