Sprint 14~22 — egui 리본 UI + OcctKernel B-rep + 가로보/신축이음 + 선형 좌표 + USD 익스포트 + WASM + CI/CD + 테스트 4층
Sprint 14: egui TopBottomPanel 리본 + CollapsingHeader SidePanel (상부구조·추가부재·선형·프로젝트) Sprint 15: IncrementalDb 전 Feature 타입 확장 (girder→7종), dirty-tracking 20 unit tests Sprint 16: Gitea + GitHub Actions CI/CD (check/test/clippy/fmt + 멀티플랫폼 릴리스) Sprint 17: AlignmentTransform + AlignmentScene — 선형 국소 프레임 → 세계 좌표 변환 Sprint 18: OcctKernel 교각(16각형 기둥+코핑) + 교대(흉벽+푸팅+날개벽) B-rep Sprint 19: CrossBeamIR + ExpansionJointIR — IR/DSL/kernel/scene 전 계층, sweep_profile_flat_x Sprint 20: 테스트 4층 — Layer1 insta 스냅샷(7종), Layer2 기하 불변량(19), Layer3 두-커널(7), Layer4 proptest(7) — 61 tests pass Sprint 21: cimery-usd PureRustKernel 실제 기하 변환 + BridgeExporter 증분 캐시 Sprint 22: viewer wasm feature + wasm-bindgen/web-sys + GitHub Actions Cloudflare Pages 배포 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
96
cimery/.github/workflows/release.yml
vendored
Normal file
96
cimery/.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
# cimery — Release build workflow (ADR-003 A3)
|
||||
# Triggered by pushing a version tag: git tag v0.1.0 && git push --tags
|
||||
#
|
||||
# Builds:
|
||||
# - Windows x64 binary (cimery-viewer.exe)
|
||||
# - macOS arm64 binary (cimery-viewer)
|
||||
# - Linux x64 binary (cimery-viewer)
|
||||
#
|
||||
# Artifacts are uploaded to the GitHub Release.
|
||||
# Code signing: placeholder (Azure Trusted Signing — ADR-003 A3).
|
||||
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build (${{ matrix.target }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
artifact: cimery-viewer.exe
|
||||
archive: cimery-viewer-windows-x64.zip
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
artifact: cimery-viewer
|
||||
archive: cimery-viewer-macos-arm64.tar.gz
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
artifact: cimery-viewer
|
||||
archive: cimery-viewer-linux-x64.tar.gz
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.target }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Build release (PureRust — no OCCT for CI)
|
||||
run: cargo build --release -p cimery-viewer --target ${{ matrix.target }}
|
||||
|
||||
- name: Package (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
shell: pwsh
|
||||
run: |
|
||||
$bin = "target/${{ matrix.target }}/release/${{ matrix.artifact }}"
|
||||
Compress-Archive -Path $bin -DestinationPath ${{ matrix.archive }}
|
||||
|
||||
- name: Package (Unix)
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: |
|
||||
bin="target/${{ matrix.target }}/release/${{ matrix.artifact }}"
|
||||
tar czf ${{ matrix.archive }} -C "$(dirname $bin)" "$(basename $bin)"
|
||||
|
||||
- name: Upload to Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: ${{ matrix.archive }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# ── Nightly channel tag ────────────────────────────────────────────────────
|
||||
# Tag convention: nightly/<date>, beta/v*, stable/v* (ADR-003 A3)
|
||||
create-release-notes:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Generate changelog since last tag
|
||||
run: |
|
||||
PREV=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
|
||||
if [ -n "$PREV" ]; then
|
||||
git log ${PREV}..HEAD --oneline > RELEASE_NOTES.md
|
||||
else
|
||||
git log --oneline > RELEASE_NOTES.md
|
||||
fi
|
||||
- name: Update Release Notes
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
body_path: RELEASE_NOTES.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user