Skip to content

add target for psbt #45

add target for psbt

add target for psbt #45

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++
sudo ln -sfT clang-18 /usr/bin/clang
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install llvm autoconf automake libtool
fi
shell: bash
- name: Install Boost
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt install libboost-all-dev
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install boost
fi
- name: Build
timeout-minutes: 20
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"
make
else
make -j$(nproc)
fi
- name: Test
run: ./bitcoinfuzz -detect_leaks=0 -runs=0