Skip to content

[pull] master from hoytech:master #53

[pull] master from hoytech:master

[pull] master from hoytech:master #53

Workflow file for this run

name: macos
on:
push:
branches: [ master ]
paths-ignore: [ '**.md', 'docs/**' ]
pull_request:
branches: [ master ]
paths-ignore: [ '**.md', 'docs/**' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
macos:
runs-on: macos-latest
name: A job to build and run strfry on macOS
steps:
- name: Checkout strfry
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install dependencies
run: |
brew update
brew install pkg-config libtool openssl zlib lmdb flatbuffers secp256k1 zstd libuv perl
cpan JSON::XS
- name: Build strfry
run: |
git submodule update --init
make setup-golpe
make -j$(sysctl -n hw.logicalcpu)
if ! [ -f ./strfry ]; then
echo "Strfry build failed."
exit 1
fi
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22
- name: Install Node dependencies
working-directory: test
run: npm ci
- name: Run tests
run: ./test/runTests.sh