doc: document Cap'n Proto build prerequisites #38
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Install Bitcoin Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install build-essential cmake pkgconf python3 libevent-dev libboost-dev capnproto libcapnp-dev | |
| - name: Checkout Bitcoin Core | |
| run: git clone --depth 1 --branch master https://github.com/bitcoin/bitcoin.git | |
| - name: Build Bitcoin Core | |
| run: cd bitcoin && cmake -B build -DENABLE_WALLET=OFF -DBUILD_TESTS=OFF && cmake --build build -j 16 | |
| - name: Run Bitcoin Core Daemon | |
| run: cd bitcoin && ./build/bin/bitcoin node -chain=regtest -ipcbind=unix -server -debug=ipc -daemon | |
| - name: Generate Blocks | |
| run: cd bitcoin && ./build/bin/bitcoin rpc -regtest -rpcwait generatetodescriptor 101 "raw(51)" | |
| - name: Run Test Suite | |
| run: cargo test |