Feat: 2D polygon collider for concave shapes #415
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS | |
on: [push, pull_request, release] | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} - Build and test | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "MacOS Latest", | |
os: macos-latest, | |
build_type: "Release" | |
} | |
steps: | |
- name: Checkout atta | |
uses: actions/checkout@v2 | |
- name: Install dependencies on macos | |
if: startsWith(matrix.config.os, 'macos') | |
run: | | |
brew install cmake | |
cmake --version | |
- name: Configure | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
- name: Build | |
run: cmake --build build --parallel --config ${{ matrix.config.build_type }} | |
- name: Test | |
run: ctest | |
working-directory: build |