mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-08 13:01:52 +00:00
9ea9513b73
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>
20 lines
489 B
YAML
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
|