Browse documentation

Runners and Windows builds

A runner is the environment in which the actions of a pipeline execute. Every pipeline has exactly one runner, and each run records the runner it used.

Available runners

Runner Name in the UI Environment

linux-x64-standard

Linux x64 Standard

Linux container with the Codinamo build tools. This is the default.

windows-x64-standard

Windows x64 Standard

Windows Server 2022 machine with 4 vCPUs, 16 GB of memory, and the MSVC toolchain.

Both runners are ephemeral: a run starts in a clean environment, and its workspace is discarded when the run ends. Keep anything you need by uploading it from an action; see Artifacts and storage.

Choose a runner

The runner is a pipeline setting. It is not part of the ICE source, so importing or exporting ICE does not change it.

When you create a pipeline, select it in the Runner field of the Create Pipeline form. To change it later:

  1. Open the pipeline page and select Edit details.

  2. Choose a value in Runner.

  3. Select Save.

The pipeline page shows the selected runner in its Runner card. A change applies to new runs only.

The same setting is available from codi:

codi pipeline configure build-windows --runner windows-x64-standard
codi pipeline configure build-windows --runner linux-x64-standard

Linux runner

Each run gets its own container and an empty workspace mounted at /workspace. Commands run in a Linux shell. The container image is based on Debian 12 and includes:

  • Git, OpenSSH client, curl, wget, lftp, and the AWS CLI.

  • GCC and the standard build tools, CMake, Ninja, and pkg-config.

  • Java 17 (default) and 21, Maven, and Gradle.

  • Node.js 18, 20 (default), and 22.

  • Python 3.13.

  • Docker CLI with Buildx.

  • Flyway and Liquibase.

  • tar, gzip, bzip2, xz, zip, and unzip.

Every action in the Action catalog runs on the Linux runner.

Windows runner

Each run gets a freshly started Windows Server 2022 machine that is destroyed after the run. Because the machine is started on demand, a Windows run takes longer to begin than a Linux run.

The machine includes Visual Studio Build Tools 2022 (MSVC and the Windows SDK), CMake, Ninja, Git for Windows, and PowerShell 7. Actions run in PowerShell with the 64-bit MSVC developer environment loaded, so cl.exe, cmake.exe, and ninja.exe are available without extra setup.

Supported actions

Only these actions run on the Windows runner:

  • Git Clone (GIT_CLONE)

  • CMake Build (CMAKE_BUILD). The generator defaults to Ninja.

  • CMake Test (CMAKE_TEST)

  • CPack Package (CPACK_PACKAGE). Use the ZIP, TGZ, TXZ, or TZST generator; DEB and STGZ are rejected.

  • Shell Command (SHELL_COMMAND). The command is a PowerShell script, not a Bash script.

  • Bunny Storage Upload (BUNNY_STORAGE_UPLOAD)

Codinamo checks the pipeline against its runner when a run is requested. If the pipeline contains any other action, the run is not started and the response lists the incompatible actions. Remove those actions or move them to a separate pipeline on the Linux runner.

Paths

Write action parameters as workspace-relative paths with forward slashes, such as source/build. They are resolved inside the run workspace on both runners, and a path that starts with /workspace is mapped to the Windows workspace. In a Shell Command, the workspace directory is available as $env:CODINAMO_WORKSPACE.

Example

This pipeline clones a CMake project, builds it with MSVC and Ninja, and runs its tests. Create it, then set its runner to windows-x64-standard.

ICE-1.0.0
codinamo >= 1.0.0

@pipeline {
    name: "build-windows"
    description: "Build and test a CMake project with MSVC"
    environment: "default"
    continueOnError: false

    @triggers {
        manual: {}
    }

    @actions {
        clone: action.GIT_CLONE({
            params: {
                repositoryUrl: "https://git.codinamo.com/OWNER/PROJECT.git",
                targetDirectory: "source",
                depth: 1,
                singleBranch: true
            }
        })

        build: action.CMAKE_BUILD({
            params: {
                sourceDir: "source",
                buildDir: "build",
                generator: "Ninja",
                buildType: "Release"
            }
        })

        test: action.CMAKE_TEST({
            params: {
                buildDir: "build",
                reportFile: "build/test-results/ctest.xml",
                outputOnFailure: true
            }
        })
    }

    @flow {
        clone -> build -> test
    }
}

See ICE syntax and Build and package a C++ project for the Linux version of this pipeline.

Billing

Build time on the Windows runner has its own price: US$ 0.022 per minute on the Pro plan, instead of the plan’s price per minute. On the Free plan a Windows run draws on the monthly allowance second for second, like any other run, and is not charged.

The price applied to a run is the one in force when the run was started. See Billing and plans for how build time is measured.

Troubleshooting

A run is rejected before it starts

The pipeline contains an action that the selected runner does not support. Compare its actions with the list above.

A command works on Linux but fails on Windows

Shell Command runs PowerShell on the Windows runner. Rewrite Bash syntax, and call Windows executables instead of Linux tools.

A tool is missing

Only the software listed for each runner is preinstalled. Install anything else from a Shell Command at the start of the run; it is not kept for the next run.

For failed actions, unresolved expressions, and missing reports, see Pipeline failures.