Skip to main content

Platform

Platform defines the target execution environment.

Properties

  • arch - string
    Arch defines the target cpu architecture.

    enum values:

    • amd64
    • arm
    • arm64
    • 386
    • ppc
    • ppc64
    • ppc64le
    • riscv
    • riscv64
    • s390
    • s390x
    • sparc
    • sparc64
  • features - string
    Features defines the target platform features.

  • os - string
    OS defines the target operating system.

    enum values:

    • linux
    • windows
    • macos
    • darwin
    • dragonfly
    • freebsd
    • netbsd
    • openbsd
    • plan9
    • solaris
  • variant - string
    Variant defines the target cpu architecture variant.

  • version - string
    Version defines the target operating system version.

Examples

platform:
os: linux
platform:
os: linux
arch: amd64