refs #181 Актуальные версии макоси #133
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: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-12, macos-13, macos-14] | |
build_type: ["Debug", "Release"] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Homebrew dependencies | |
run: | | |
brew install cmake | |
brew install boost | |
brew install doctest | |
- name: Configure | |
run: | | |
cmake -S . -B Build/burst -DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
- name: Build and test | |
run: | | |
cmake --build Build/burst --target check |