Skip to content

Fix build for macos #525

Fix build for macos

Fix build for macos #525

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ v2c ]
pull_request:
branches: [ v2c ]
jobs:
build:
name: Test build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install deps
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install libboost-all-dev libexpat1-dev libjsoncpp-dev libspdlog-dev libcapnp-dev capnproto nlohmann-json3-dev
- name: Install deps
if: matrix.os == 'macOS-latest'
run: |
brew update
# Temporary Workaround for conflict with multiple python in brew
brew install --overwrite python@3.12 python@3.11 python@3.10
brew install autoconf automake libtool pkg-config
brew install boost
brew install capnp
brew install spdlog
brew install nlohmann-json
- name: Gen configure
run: autoreconf -i
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check