Files
MoShiro/.woodpecker/windows-release.yml
T
justme 490b008a57
ci/woodpecker/push/dev-image Pipeline is running
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/verify Pipeline was successful
scripts: unify Linux native builds and retain restore caches [CI]
Build musl and glibc for amd64 and arm64 through one native package path. Reuse musl outputs for OCI images and OpenWrt installers, and export binaries inside a rootless unshare session.

Restore the executable dependency graph into a shared persistent NuGet cache, build managed dependencies once, and run isolated native publishes in parallel.

Clean temporary outputs and expired image layers under store locks, retire inactive legacy stores after seven days, and retain two toolchain exports. Add regression coverage for staging, extraction, packaging and cleanup boundaries.
2026-10-21 12:29:00 +08:00

103 lines
2.6 KiB
YAML

labels:
ci: domain-windows
platform: windows/amd64
clone:
- name: git
image: plugin-git
settings:
lfs: false
when:
- event: tag
ref: refs/tags/v*
concurrency: 1
steps:
- name: build-macos-x64-agent
image: powershell
environment: &build-environment
GITEA_BASE: http://localhost:3100
GITEA_TOKEN:
from_secret: gitea_token
NUGET_PACKAGES: 'C:\Users\JustMe-NAS\.nuget\packages'
RID: osx-x64
COMPONENT: agent
commands: &build-commands
- Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
- ./ci/release-cross-platform.ps1 -RuntimeIdentifier $env:RID -Component $env:COMPONENT
depends_on: []
- name: build-macos-x64-enroll
image: powershell
environment: &rid-macos-x64-enroll
<<: *build-environment
COMPONENT: fleet-enroll
commands: *build-commands
depends_on: []
- name: build-macos-arm64-agent
image: powershell
environment: &rid-macos-arm64-agent
<<: *build-environment
RID: osx-arm64
commands: *build-commands
depends_on: []
- name: build-macos-arm64-enroll
image: powershell
environment: &rid-macos-arm64-enroll
<<: *rid-macos-arm64-agent
COMPONENT: fleet-enroll
commands: *build-commands
depends_on: []
- name: build-windows-x64-agent
image: powershell
environment: &rid-windows-x64-agent
<<: *build-environment
RID: win-x64
commands: *build-commands
depends_on: []
- name: build-windows-x64-enroll
image: powershell
environment: &rid-windows-x64-enroll
<<: *rid-windows-x64-agent
COMPONENT: fleet-enroll
commands: *build-commands
depends_on: []
- name: build-windows-arm64-agent
image: powershell
environment: &rid-windows-arm64-agent
<<: *build-environment
RID: win-arm64
commands: *build-commands
depends_on: []
- name: build-windows-arm64-enroll
image: powershell
environment: &rid-windows-arm64-enroll
<<: *rid-windows-arm64-agent
COMPONENT: fleet-enroll
commands: *build-commands
depends_on: []
- name: package-and-upload
image: powershell
environment: *build-environment
commands:
- Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
- ./ci/package-cross-platform.ps1
depends_on:
- build-macos-x64-agent
- build-macos-x64-enroll
- build-macos-arm64-agent
- build-macos-arm64-enroll
- build-windows-x64-agent
- build-windows-x64-enroll
- build-windows-arm64-agent
- build-windows-arm64-enroll