chore(engine): mute intempestive debug logs (#110) #204
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: Zig Test and Benchmark | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
ZIG_VERSION: 0.14.0-dev.1550+4fba7336a | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ env.ZIG_VERSION }} | |
- name: Unit testing | |
run: zig build test --summary all | |
- name: Run benchmarks | |
run: zig build bench -Doptimize=ReleaseFast | |
- name: Run node | |
run: | | |
zig build -Doptimize=Debug run -- node & | |
BITCOIN_NODE_PID=$! | |
sleep 1 | |
kill $BITCOIN_NODE_PID |