Implement milestones 0 and 1 with project and repository configuration, Work persistence, discussions, draft decisions, evidence integrity, and deterministic context exports. Add Java 25, Spring Boot and Modulith, native distributions, CI workflows, protocol documentation, and the pinned SDKMAN GraalVM CE toolchain. Validated with 20 passing tests and the macOS ARM64 native multi-repository continuity smoke.
61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
name: build
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
jvm:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: '25'
|
|
- uses: gradle/actions/setup-gradle@v4
|
|
- run: ./gradlew clean test bootJar --console=plain
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: jvm-test-reports
|
|
path: build/reports/tests/test
|
|
|
|
native:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: ubuntu-24.04
|
|
platform: linux-x86_64
|
|
- os: macos-15
|
|
platform: macos-arm64
|
|
- os: windows-2025
|
|
platform: windows-x86_64
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: graalvm/setup-graalvm@v1
|
|
with:
|
|
version: '25.5'
|
|
distribution: graalvm-community
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: gradle/actions/setup-gradle@v4
|
|
- name: Build native archive
|
|
shell: bash
|
|
run: ./gradlew nativeDistZip -PtargetPlatform=${{ matrix.platform }} --console=plain
|
|
- name: Native continuity smoke
|
|
shell: bash
|
|
run: |
|
|
native_binary="$PWD/build/native/nativeCompile/ai-engineering"
|
|
if [[ "$RUNNER_OS" == Windows ]]; then native_binary="${native_binary}.exe"; fi
|
|
bash scripts/native-smoke.sh "$native_binary"
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ai-engineering-${{ matrix.platform }}
|
|
path: build/distributions/*.zip
|
|
# GraalVM 25 no longer provides macOS x86_64. See docs/roadmap.md.
|