mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-29 19:05:44 -05:00
40 lines
765 B
YAML
40 lines
765 B
YAML
|
name: macOS
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
paths-ignore:
|
||
|
- 'README.md'
|
||
|
- 'doc/**'
|
||
|
pull_request:
|
||
|
paths-ignore:
|
||
|
- 'README.md'
|
||
|
- 'doc/**'
|
||
|
|
||
|
jobs:
|
||
|
xcode:
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
xcode: ['11', '12', '13']
|
||
|
build_type: [Debug, Release]
|
||
|
|
||
|
runs-on: macos-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- uses: maxim-lobanov/setup-xcode@v1
|
||
|
with:
|
||
|
xcode-version: ${{ matrix.xcode }}
|
||
|
|
||
|
- run: cmake -E make_directory build
|
||
|
|
||
|
- working-directory: build/
|
||
|
run: cmake $GITHUB_WORKSPACE
|
||
|
|
||
|
- working-directory: build/
|
||
|
run: cmake --build . --config ${{ matrix.build_type }}
|
||
|
|
||
|
- working-directory: build/
|
||
|
run: ctest --config ${{ matrix.build_type }} --output-on-failure
|