feat: community-benchmark sharing commands (corpus pull / corpus cont… #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Light CI (#47): build + full test suite on Apple Silicon. | |
| # | |
| # Deliberately NOT the regression gate — the accuracy goldens are seeded on | |
| # (and machine-scoped to) the maintainer's hardware, and the gate needs a | |
| # ~1.5 GB reference model. The gate runs at release time via | |
| # scripts/release.sh; this workflow just keeps every PR compiling and green. | |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: macos-15 # arm64; Xcode built-in toolchain (swiftly 6.2.4 crashes release builds — see README Requirements) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select newest Xcode on the image | |
| # The tests use Swift 6.2 raw identifiers (backtick test names); the | |
| # image's default Xcode ships an older Swift and fails to parse them. | |
| run: | | |
| NEWEST="$(ls -d /Applications/Xcode*.app | sort -V | tail -1)" | |
| echo "selecting: $NEWEST" | |
| sudo xcode-select -s "$NEWEST/Contents/Developer" | |
| - name: Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Test | |
| run: swift test |