mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
update ci
This commit is contained in:
parent
72ba8a89d4
commit
e8c57b0a2a
5 changed files with 88 additions and 6 deletions
27
.github/workflows/macos.yml
vendored
Normal file
27
.github/workflows/macos.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: macos
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{matrix.config.os}}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- { os: macos-10.15, xcode: "12.0.1" } # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
|
||||
- { os: macos-11.0, xcode: "11.7" } # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11.0-Readme.md#xcode
|
||||
build: [Debug, Release]
|
||||
|
||||
name: "xcode${{matrix.config.xcode}}:${{matrix.build}}"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -DCMAKE_BUILD_TYPE=${{matrix.build}}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build . --config ${{matrix.build}}
|
||||
|
||||
- name: Tests
|
||||
run: ctest --output-on-failure -C ${{matrix.build}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue