跳到主要内容

Runner and Runtime Environment

This document introduces the resource specifications, tag system, and usage methods of AtomGit's managed resource pool and self-hosted Runners.

Official Resource Pool

The tags for AtomGit's managed resource pool use a three-part format {os-version},{arch},{flavor}:

PartDescriptionPossible Values
os-versionOperating System and Versionubuntu-latest, euler-latest
archCPU Architecturex64, arm64
flavorResource Specificationslim, small, medium, large, xlarge, 2xlarge

The default resource pool tag is default=[ubuntu-latest, x64, small].

Detailed Resource Specifications Table:

SpecificationCPU (Cores)Memory (GB)Disk (GB)Applicable Scenario
slim1420Lightweight checks: Lint, static analysis
small2850Regular build and test ( Default )
medium416100Medium-scale compilation
large832200Large-scale build
xlarge1664500Heavy computing
2xlarge321281000Extremely heavy computing

Tip: To ensure the build environment is ready to use out of the box, some system tools and runtime environments have been pre-installed in the Runner, so the actual available disk space will be slightly less than the disk size indicated in the documentation.

Self-Hosted Resource Pool

The configuration for self-hosted Runners uses the Runner type plus custom tags type/labels, i.e., [self-hosted, custom tag1, custom tag2, custom tag3, ...]:

jobs:
self-hosted-build:
name: Self-Hosted Build
runs-on: [self-hosted, linux, x64, gpu]
steps:
- name: Run build
run: nvidia-smi