Commit Graph
17 Commits
Author SHA1 Message Date
Daniel SamsonandClaude Opus 4.6 e0dbbae413 fix(ci): replace HOMEBREW_TAP_TOKEN PAT with GitHub App token
The personal access token expired, causing the v0.3.0 release job to
fail at the homebrew tap checkout step. Switch to a GitHub App
(actions/create-github-app-token) which auto-rotates tokens per run
and has no expiry to manage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:10:01 +00:00
Daniel SamsonandClaude Opus 4.5 1370ed6deb fix(ci): integrate homebrew update into release workflow
GITHUB_TOKEN events don't trigger other workflows, so the separate
update-homebrew workflow never ran. Move the logic directly into
the release workflow.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 09:01:41 +00:00
Daniel SamsonandClaude Opus 4.5 9833d3a2ec fix(ci): use macos-15-intel instead of deprecated macos-13
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 08:50:38 +00:00
Daniel SamsonandClaude Opus 4.5 69b8764d27 feat(ci): add Intel Mac (x86_64) support
- Add macos-13 runner for x64 builds
- Update homebrew workflow for macos-x64 binary

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 08:30:16 +00:00
Daniel SamsonandClaude Opus 4.5 33ea6d03f1 fix(ci): update homebrew workflow to match actual build artifacts
- Remove macos-x64 reference (not built)
- Add linux-arm64 and linux-x64 support
- Use environment variables in heredoc for proper interpolation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 08:27:49 +00:00
Daniel SamsonandClaude Opus 4.5 1ee410d331 ci: remove standalone jacoco:check step
The jacoco:check goal requires rules configuration which is only
available in the verify execution. Coverage is already checked
in the verify job via `mvn verify`.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 03:07:58 +00:00
Daniel SamsonandClaude Opus 4.5 567f4de4b7 ci: remove PMD job from lint workflow
PMD was removed from pom.xml in previous commit, so the CI job is no longer needed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 03:06:19 +00:00
Daniel SamsonandClaude Opus 4.5 8ded382831 feat: add cross-platform installer scripts
- Add install.sh for Linux/macOS (curl installer)
  - Detects OS and architecture
  - Sets up systemd service on Linux
  - Sets up launchd agent on macOS
  - Auto-starts service on boot

- Add install.ps1 for Windows (PowerShell installer)
  - Installs Windows Service (admin) or Scheduled Task (user)
  - Adds to PATH automatically

- Add installer/barn.iss (Inno Setup script)
  - Generates setup-barn-vX.X.X-windows-x64.exe
  - Full Windows installer with uninstaller

- Update release workflow to include installers
- Update README with quick install instructions

Closes #26, #27, #29

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:41:01 +00:00
Daniel SamsonandClaude Opus 4.5 167292165a ci: simplify build workflow
Build workflow now:
- Triggers on PRs and pushes to main
- Runs on single OS (ubuntu-latest)
- Just verifies code compiles and tests pass

Release workflow (on tags) still builds for all platforms.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:16:42 +00:00
Daniel SamsonandClaude Opus 4.5 436d8ee840 ci: simplify build workflow to PRs only
- Build workflow now only triggers on pull requests
- Removed native image builds from build workflow
- Native builds are only done in release workflow on tag push

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:14:03 +00:00
Daniel SamsonandClaude Opus 4.5 d97ee5b2b6 fix(ci): use PowerShell for Windows builds
The cmd.exe batch script wasn't executing the move command correctly.
Switch to PowerShell for more reliable file operations on Windows.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:08:41 +00:00
Daniel SamsonandClaude Opus 4.5 045f196552 fix(ci): use Oracle GraalVM and remove Windows ARM64
- Switch from graalvm-community to graalvm (Oracle GraalVM)
- Remove Windows ARM64 from matrix (no GraalVM support available)
- Add fail-fast: false to prevent one failure from cancelling others

Native builds now target 4 platforms:
- Linux x64
- Linux ARM64
- macOS ARM64
- Windows x64

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:00:20 +00:00
Daniel SamsonandClaude Opus 4.5 cbd58f9857 fix(ci): add Windows ARM64 support
Add windows-11-arm runner to build matrix for ARM64 Windows builds.
Now building for 5 platforms:
- Linux x64 (ubuntu-latest)
- Linux ARM64 (ubuntu-24.04-arm)
- macOS ARM64 (macos-latest)
- Windows x64 (windows-latest)
- Windows ARM64 (windows-11-arm)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 22:57:23 +00:00
Daniel SamsonandClaude Opus 4.5 276480c3ab fix(ci): fix Windows build and update macOS runner
- Use cmd shell on Windows to avoid PowerShell argument parsing issues
- Update macOS Intel runner from macos-13 to macos-15-large

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 22:53:53 +00:00
Daniel SamsonandClaude Opus 4.5 1ec8120ecb chore: update homebrew tap to samson-media/homebrew-tap
Changes tap repo from homebrew-barn to homebrew-tap for cleaner
install command: brew install samson-media/tap/barn

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 22:47:38 +00:00
Daniel SamsonandClaude Opus 4.5 767a941ac3 feat(ci): add GitHub Actions workflows for CI/CD
Adds automated build, test, and release pipelines:
- build.yml: Run tests and build native images on push/PR
- release.yml: Build and publish releases on tag push
- update-homebrew.yml: Auto-update Homebrew formula on release

Also adds CHANGELOG.md for tracking releases.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 22:32:22 +00:00
Daniel SamsonandClaude Opus 4.5 3c09ea978d Add coding standards and quality enforcement tooling
- docs/coding-standards.md: Comprehensive Java coding standards
- CLAUDE.md: AI assistant instructions for the project
- .editorconfig: Editor configuration for consistent formatting
- pom.xml: Updated with quality plugins (Checkstyle, SpotBugs, PMD, JaCoCo)
- config/checkstyle/: Checkstyle configuration (Google Java Style based)
- config/spotbugs/: SpotBugs exclusions
- config/pmd/: PMD ruleset
- .githooks/pre-commit: Pre-commit hook for local quality checks
- .github/workflows/lint.yml: CI workflow for automated quality checks
- docs/development.md: Updated for Java/Maven toolchain

Quality enforcement:
- Checkstyle runs on validate phase
- SpotBugs and PMD run on verify phase
- JaCoCo enforces 80% line coverage, 70% branch coverage
- Pre-commit hook runs all checks before allowing commits
- CI runs all checks on push and PR

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:22:06 +00:00