55aae5347e
---ci--- project: orca phase: 0 milestone: v0.1 status: execute ---/ci---
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
version: "1"
|
|
name: orca-ci
|
|
description: Orca — offline/CLI-first orchestration engine. Full release flow via CoreCI.
|
|
|
|
pipelines:
|
|
validate:
|
|
description: Validate Go toolchain and code formatting
|
|
steps:
|
|
- name: go-version
|
|
image: golang:1.25
|
|
commands:
|
|
- go version
|
|
- gofmt -l .
|
|
- go vet ./...
|
|
|
|
build:
|
|
description: Build the orca binary
|
|
steps:
|
|
- name: build
|
|
image: golang:1.25
|
|
commands:
|
|
- go build -o bin/orca ./cmd/orca
|
|
|
|
test:
|
|
description: Run all tests with race detection
|
|
steps:
|
|
- name: test
|
|
image: golang:1.25
|
|
commands:
|
|
- go test -race -coverprofile=coverage.out ./...
|
|
|
|
release:
|
|
description: Full release flow — build, package, and publish to Gitea
|
|
steps:
|
|
- name: build-artifact
|
|
image: golang:1.25
|
|
commands:
|
|
- go build -ldflags="-s -w" -o bin/orca ./cmd/orca
|
|
- tar -czf orca-${CI_COMMIT_TAG}-linux-amd64.tar.gz -C bin orca
|
|
- name: gitea-release
|
|
image: golang:1.25
|
|
commands:
|
|
- tea releases create ${CI_COMMIT_TAG}
|
|
--title "Orca ${CI_COMMIT_TAG}"
|
|
--note "Full release of Orca. See CHANGELOG for details."
|
|
--asset orca-${CI_COMMIT_TAG}-linux-amd64.tar.gz
|