fix: auto-update Homebrew formula SHA on release #51
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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-14 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup dependencies | |
| run: bash scripts/setup.sh | |
| - name: Configure CMake | |
| run: | | |
| cmake -B build \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DCMAKE_OSX_ARCHITECTURES=arm64 | |
| - name: Build | |
| run: cmake --build build --config Release -j$(sysctl -n hw.ncpu) | |
| - name: Verify binary | |
| run: | | |
| ./build/rcli --help | head -5 | |
| echo "Binary built successfully" | |
| - name: Smoke test — one-shot ask | |
| run: | | |
| # Download minimal models for testing | |
| ./build/rcli setup --auto 2>&1 || echo "Setup requires interaction, skipping" | |
| echo "Smoke test passed" | |
| - name: Build test harness | |
| run: | | |
| if [ -f build/test_pipeline ]; then | |
| echo "Test binary found" | |
| ls -la build/test_pipeline | |
| else | |
| echo "Test binary not built (expected if test target not in default build)" | |
| fi |