feat: add .core/ build and release configuration
Adopts go-devops build system for the core framework library. Build config validates compilation across targets, release config enables changelog generation for tag-only library releases. Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
302fb038a2
commit
f3854f1077
2 changed files with 52 additions and 0 deletions
28
.core/build.yaml
Normal file
28
.core/build.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Core Go Framework build configuration
|
||||
# Used by: core build
|
||||
# Note: This is a library module (no binary). Build validates compilation only.
|
||||
|
||||
version: 1
|
||||
|
||||
project:
|
||||
name: core-go
|
||||
description: Core Go Framework — dependency injection and lifecycle management
|
||||
binary: ""
|
||||
|
||||
build:
|
||||
cgo: false
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s
|
||||
- -w
|
||||
|
||||
targets:
|
||||
- os: linux
|
||||
arch: amd64
|
||||
- os: linux
|
||||
arch: arm64
|
||||
- os: darwin
|
||||
arch: arm64
|
||||
- os: windows
|
||||
arch: amd64
|
||||
24
.core/release.yaml
Normal file
24
.core/release.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Core Go Framework release configuration
|
||||
# Used by: core ci
|
||||
# Library module — no binary artifacts, tag-only releases.
|
||||
|
||||
version: 1
|
||||
|
||||
project:
|
||||
name: core-go
|
||||
repository: core/go
|
||||
|
||||
publishers: []
|
||||
|
||||
changelog:
|
||||
include:
|
||||
- feat
|
||||
- fix
|
||||
- perf
|
||||
- refactor
|
||||
exclude:
|
||||
- chore
|
||||
- docs
|
||||
- style
|
||||
- test
|
||||
- ci
|
||||
Loading…
Add table
Reference in a new issue