docs: Update the README for MacOS and FreeBSD support #16
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: macos | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths-ignore: [ '**.md', 'docs/**' ] | |
| pull_request: | |
| branches: [ master ] | |
| 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 | |
| - 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 |