Files
meta.hpp/.github/workflows/darwin.yml
2022-01-07 21:17:37 +07:00

25 lines
669 B
YAML

name: darwin
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.config.os}}
strategy:
fail-fast: false
matrix:
config:
# https://github.com/actions/virtual-environments/tree/main/images/macos
- { os: "macos-11", xcode: "13.0" }
- { os: "macos-11", xcode: "13.1" }
- { os: "macos-11", xcode: "13.2" }
name: "xcode-${{matrix.config.xcode}}"
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Select Xcode
run: sudo xcode-select --switch "/Applications/Xcode_${{matrix.config.xcode}}.app"
- name: Build && Test
run: .ci/build_darwin.sh