Skip to content

ci: Add build and test on macOS #2

ci: Add build and test on macOS

ci: Add build and test on macOS #2

Workflow file for this run

name: Build and Test on macOS
on:
push:
branches: '**'
pull_request:
branches: '**'
jobs:
build_and_test:
runs-on: macos-14
steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install dependencies from Homebrew
run: |
brew install automake cmake cunit gnu-getopt make ninja
- name: Build all binaries
run: |
tools/ci/run_ci.sh --run-build --verbose
- name: Build, execute sanitized unit tests
run: |
tools/ci/run_ci.sh --run-tests
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/integration/requirements.txt
- name: Execute integration tests
run: |
python -c "import sys; print(sys.version)"
pytest -v tests/integration