Skip to content

Update vcpkg (with Boost 1.86.0#1) #3585

Update vcpkg (with Boost 1.86.0#1)

Update vcpkg (with Boost 1.86.0#1) #3585

Workflow file for this run

name: C/C++ CI macOS
on: [push]
jobs:
build-in-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Dir
run: cmake -E make_directory ${{github.workspace}}/build
- name: Pre-Install Boost, LevelDB
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && ( brew install autoconf autoconf-archive automake ninja boost-python3 snappy leveldb || brew install autoconf autoconf-archive automake ninja boost-python3 snappy leveldb )
- name: Configure
working-directory: ${{github.workspace}}/build
run: cmake ${{github.workspace}} -GXcode -DOPENMIND_USE_VCPKG=NO -DOPENMIND_BUILD_SAMPLES=OFF -DOPENMIND_BUILD_TESTS=ON -Dleveldb_TAG:STRING="1.23" -DOPENMIND_MATH_USE_LEVELDB_CACHE=OFF -DOPENMIND_STORAGE_LEVELDB=OFF
- name: Install prerequisites
working-directory: ${{github.workspace}}/build
run: cmake --build ${{github.workspace}}/build --target prerequisites -j `sysctl -n hw.ncpu` --config Release
- name: Reconfigure to detect newly installed prerequisites
working-directory: ${{github.workspace}}/build
run: cmake .
- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build ${{github.workspace}}/build -j `sysctl -n hw.ncpu` --config Release
- name: Check
working-directory: ${{github.workspace}}/build
run: ctest --timeout 3200 -C Release -j `sysctl -n hw.ncpu` -E ts