Skip to content

Fixed overflow policy bug #210

Fixed overflow policy bug

Fixed overflow policy bug #210

Workflow file for this run

name: macOS
on:
workflow_dispatch:
push:
branches: [ "master", "experimental" ]
pull_request:
branches: [ "master", "experimental" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: macos-latest
name: Apple Clang Build
steps:
- uses: actions/checkout@v4
- name: Set up Xcode (optional)
run: sudo xcode-select -s /Applications/Xcode.app
- name: Install Ninja
run: brew install ninja
- name: Create Build Environment
run: cmake -E make_directory "${{ runner.workspace }}/build"
- name: Configure CMake
working-directory: "${{ runner.workspace }}/build"
run: |
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
-DCMAKE_C_FLAGS="-Wall -Wextra -Wpedantic" \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic" \
"${{ github.workspace }}"
- name: Build
working-directory: "${{ runner.workspace }}/build"
run: cmake --build . --parallel $(sysctl -n hw.logicalcpu)