33 lines
715 B
YAML
33 lines
715 B
YAML
platform: linux/amd64
|
|
steps:
|
|
first-job:
|
|
image: busybox
|
|
commands:
|
|
- echo "ci working................. "
|
|
cpu:
|
|
image: progrium/stress:latest
|
|
commands: /usr/bin/stress --cpu 20 --io 1 --vm 2 --vm-bytes 128M --timeout 90s
|
|
nvidia-test:
|
|
image: nvidia/cuda:11.6.2-base-ubuntu20.04
|
|
commands:
|
|
- nvidia-smi
|
|
environment:
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
gpu:
|
|
image: oguzpastirmaci/gpu-burn:latest
|
|
environment:
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
commands:
|
|
- cd /app
|
|
- ./gpu_burn 120
|
|
- echo "burned. done"
|
|
|
|
# 2nd:
|
|
# image: oguzpastirmaci/gpu-burn:latest
|
|
# environment:
|
|
# - NVIDIA_VISIBLE_DEVICES=all
|
|
# commands:
|
|
# - ./gpu_burn 60
|
|
|
|
|