repositories / pi-ext
pi-ext
bugabingas pi extensions
owned by admin
.ci/release.kdl
Rawjob "release-matrix" {
image "mcr.microsoft.com/playwright:v1.61.0-noble"
trigger {
push {
tag "v*"
}
}
// Compatibility matrix over supported Pi versions. Luci runs Linux containers
// only, so Windows and macOS have no runners; they are recorded here as known
// gaps rather than silently passing. Node tracks the mise-locked version
// (same as dev and normal CI). Broaden the `pi` axis as newer Pi
// releases are verified; the compatibility check keeps it in sync with the
// declared minimum (`pi-ext.minimumPi`).
matrix {
pi "1.2.0"
}
mount "cache" "toolchains" "/cache/toolchains"
mount "cache" "npm" "/cache/npm"
run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin"
run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\""
run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }"
run "mise trust"
run "mise install"
run "CI=true PI_EXT_MATRIX_PI=${pi} mise run //:verify-packages"
}