Skip to content

fix: counteracting moves would lead to NaN (#135) #160

fix: counteracting moves would lead to NaN (#135)

fix: counteracting moves would lead to NaN (#135) #160

Workflow file for this run

name: macos
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !(startsWith(github.ref, 'release/') || github.ref == 'develop')}}
jobs:
build:
strategy:
fail-fast: false
matrix:
target: [macos]
compiler: [clang]
include:
- benchmarks: OFF
tests: ON
arch: x86_64
name: build
runs-on: macos-12
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- name: setup dependencies
run: python3 tools/generate_project_info.py
- name: initialize
run: cmake --preset=${{ matrix.target }}-release -DPE_BENCHMARKS=${{ matrix.benchmarks }} -DPE_TESTS=${{ matrix.tests }} -DCMAKE_C_COMPILER=$(brew --prefix llvm@15)/bin/clang -DCMAKE_CXX_COMPILER=$(brew --prefix llvm@15)/bin/clang++
- name: compile
run: cmake --build --preset=${{ matrix.target }}-release -j ${{ steps.cpu-cores.outputs.count }}
- name: test
if: ${{ matrix.tests == 'ON' }}
run: ./builds/${{ matrix.target }}/${{ matrix.arch }}/default/bin/tests --formatter compact --no-source
timeout-minutes: 20