Skip to content

Compile on macos

Compile on macos #7

Workflow file for this run

name: Compile on macos
on:
workflow_dispatch:
inputs:
debug-flag:
required: false
default: true
type: boolean
jobs:
build_macos:
runs-on: macos-13
defaults:
run:
working-directory: cpp
steps:
- uses: actions/checkout@v3
- name: Install Homebrew
run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: Install packages
run: brew install protobuf@3 spdlog
- name: Build debug strings
if: ${{ inputs.debug-flag }}
run: |
echo "debug_flag_compile=DEBUG\=1" >> $GITHUB_ENV
- name: Compile
run: make all -j 6 CONNECT_TYPE=FULLSPEC ${{ env.debug_flag_compile }}