Skip to content

GitLab CI examples

unit-tests:
stage: test
tags:
- saas-linux-medium-amd64
script:
- cargo test
arm64-tests:
stage: test
tags:
- saas-linux-medium-arm64
script:
- uname -m
- ./test-arm64.sh
gpu-tests:
stage: test
tags:
- saas-linux-large-amd64
- gpu:nvidia
- gpu:count:1
script:
- nvidia-smi
- ./test-gpu.sh
xdp-tests:
stage: test
tags:
- saas-linux-large-amd64
- nic:tier:25g
- nic:driver:mlx5_core
variables:
HW_NIC_TIER: "25g"
script:
- ./run-xdp-tests.sh
sriov-tests:
stage: test
tags:
- saas-linux-large-amd64
- nic:tier:25g
variables:
HW_NIC_TIER: "25g"
HW_SRIOV_VF_COUNT: "1"
script:
- ./run-sriov-tests.sh
hugepage-tests:
stage: test
tags:
- saas-linux-large-amd64
variables:
HW_HUGEPAGE_BYTES: "1073741824"
HW_NUMA_POLICY: "single-node"
script:
- ./run-hugepage-tests.sh