Skip to content

Implementing UCI time controls #55

Implementing UCI time controls

Implementing UCI time controls #55

name: MacOS Build Test
on:
pull_request:
branches: [ main ]
types: [ labeled, synchronize ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
macos-build:
if: |
(github.event.action == 'labeled' && github.event.label.name == 'run-pre-merge-checks') ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-pre-merge-checks'))
runs-on: ${{ matrix.runner }}
name: ${{ matrix.runner }} - ${{ matrix.test_preset }}
strategy:
fail-fast: false
matrix:
include:
- runner: macos-26-intel
arch: intel
configure_preset: clang_release
build_preset: clang_release
test_preset: quick-validation-clang-release
- runner: macos-26
arch: arm64
configure_preset: clang_release
build_preset: clang_release
test_preset: quick-validation-clang-release
steps:
- uses: actions/checkout@v4
- name: Setup, configure, and build macOS CI
uses: ./.github/actions/_setup_configure_build_macos
with:
arch: ${{ matrix.arch }}
configure-preset: ${{ matrix.configure_preset }}
build-preset: ${{ matrix.build_preset }}
- name: Test (${{ matrix.test_preset }})
uses: ./.github/actions/_log_to_gh_summary_bash
with:
step-name: Test (${{ matrix.test_preset }})
command: "ctest --preset ${{ matrix.test_preset }} --output-on-failure"