test-ci/.woodpecker.yml

33 lines
830 B
YAML

platform: linux/amd64
pipeline:
first-job:
image: busybox
commands:
- echo "pick pick wood pickasdpaasdsdick ....asd.sd..kj......"
nvidia-test:
image: nvidia/cuda:11.6.2-base-ubuntu20.04
commands:
- nvidia-smi
- apt install git -y
- git clone https://github.com/wilicc/gpu-burn
- cd gpu-burn
- make
- ./gpu_burn 60
environment:
- NVIDIA_VISIBLE_DEVICES=all
# 2nd:
# image: oguzpastirmaci/gpu-burn:latest
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# commands:
# - ./gpu_burn 60
# gpu:
# image: oguzpastirmaci/gpu-burn:latest
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# commands:
# - 120
# cpu
# image: progrium/stress:latest
# commands: /usr/bin/stress --cpu 2 --io 1 --vm 2 --vm-bytes 128M --timeout 20s