Skip to content

Many improvements, including the ability to compare two branches by name #195

Many improvements, including the ability to compare two branches by name

Many improvements, including the ability to compare two branches by name #195

Workflow file for this run

name: CI – macOS
on:
pull_request:
branches: [main, develop]
workflow_dispatch: {}
jobs:
build_and_test:
runs-on: macos-26
timeout-minutes: 20
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v6
# Install Bazelisk (recommended Bazel launcher)
- name: Setup Bazelisk
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-version: "1.29.0"
# Install Doxygen, to generate documentation
- name: Install Doxygen
run: brew install doxygen
# Build all targets
- name: Build all targets
run: bazelisk build --verbose_failures //...
# Run all tests (including Python)
- name: Run all tests
run: bazelisk test --verbose_failures //...
# Upload test logs
- name: Upload test logs - macOS
if: always()
uses: actions/upload-artifact@v6
with:
name: bazel-test-logs-macos
path: bazel-testlogs/
if-no-files-found: ignore
retention-days: 30
sanitizers:
runs-on: macos-26
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Bazelisk
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-version: "1.29.0"
- name: Run system tests (AddressSanitizer)
run: bazelisk test --config=asan --verbose_failures --test_output=errors //library/tests/system/...
- name: Run system tests (ThreadSanitizer)
run: bazelisk test --config=tsan --verbose_failures --test_output=errors //library/tests/system/...
- name: Upload sanitizer test logs
if: always()
uses: actions/upload-artifact@v6
with:
name: bazel-test-logs-macos-sanitizers
path: bazel-testlogs/
if-no-files-found: ignore
retention-days: 30