Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSpecHash ¶
func ComputeSpecHash(cell *MatrixCell, catalogData []byte, builderHash string) string
ComputeSpecHash computes a deterministic hash for a matrix cell.
func WriteMatrices ¶
WriteMatrices writes php.json, ext.json, tool.json to the output directory.
Types ¶
type Matrix ¶
type Matrix struct {
Include []MatrixCell `json:"include"`
}
Matrix is the GitHub Actions matrix JSON format.
type MatrixCell ¶
type MatrixCell struct {
Version string `json:"version,omitempty"`
OS string `json:"os"`
Arch string `json:"arch"`
TS string `json:"ts"`
Digest string `json:"digest,omitempty"`
Extension string `json:"extension,omitempty"`
ExtVer string `json:"ext_version,omitempty"`
PHPAbi string `json:"php_abi,omitempty"`
}
MatrixCell represents one concrete build job.
func ExpandExtMatrix ¶
func ExpandExtMatrix(spec *catalog.ExtensionSpec) []MatrixCell
ExpandExtMatrix expands an extension's abi_matrix, applying excludes.
func ExpandPHPMatrix ¶
func ExpandPHPMatrix(spec *catalog.PHPSpec) []MatrixCell
ExpandPHPMatrix expands php.yaml's abi_matrix into concrete cells.
Click to show internal directories.
Click to hide internal directories.