Files
solvecraft/.github/workflows/build-script.yml
T
Alex Lytvynenko 9ea9513b73 ci: isolate build-script tests behind path filters
Move the Linux/macOS build-script matrix to its own workflow, triggered only by changes to the script or its tests. Leave ci.yml unchanged relative to the PR base.

Co-Authored-By: GPT-6.1-Sol <noreply@openai.com>
2026-10-17 18:42:13 +02:00

20 lines
489 B
YAML

name: build-script
on:
pull_request:
paths: ['harness/cpp/build.sh', 'harness/cpp/test_build.py']
push:
branches: [main]
paths: ['harness/cpp/build.sh', 'harness/cpp/test_build.py']
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
# /bin/bash exercises stock Bash 3.2 on macOS; no C++ checkout/build needed.
- run: python3 harness/cpp/test_build.py