test-ci/.woodpecker.yml

44 lines
1.2 KiB
YAML
Raw Normal View History

2023-01-17 15:56:34 +00:00
platform: linux/amd64
2023-01-17 15:51:35 +00:00
pipeline:
first-job:
image: busybox
commands:
2023-01-17 17:35:20 +00:00
- echo "pick pick wood pickasdpaasdsdick ....asd.sd..kj......"
2023-01-17 18:02:37 +00:00
gpu-stress:
image: waggle/gpu-stress-test:latest
2023-01-17 17:45:56 +00:00
environment:
- NVIDIA_VISIBLE_DEVICES=all
2023-01-17 18:02:37 +00:00
commands:
2023-01-17 18:08:03 +00:00
- cd /
2023-01-17 18:09:27 +00:00
- python3 stress.py --runtime nvidia
2023-01-17 18:05:26 +00:00
- ls
2023-01-17 18:06:28 +00:00
- sleep 60
2023-01-17 18:02:37 +00:00
#nvidia-test:
# image: nvidia/cuda:11.6.2-base-ubuntu20.04
# commands:
# - nvidia-smi
# - apt update -y && apt install git build-essential wget -y
# - git clone https://github.com/wilicc/gpu-burn
# - wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/libcublas-dev_10.1.0.105-1_amd64.deb
# - dpkg -i libcublas-dev_10.1.0.105-1_amd64.deb
# - cd gpu-burn
# - make
# - ./gpu_burn 60
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
2023-01-17 17:44:05 +00:00
# 2nd:
# image: oguzpastirmaci/gpu-burn:latest
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# commands:
# - ./gpu_burn 60
2023-01-17 17:30:09 +00:00
# gpu:
# image: oguzpastirmaci/gpu-burn:latest
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# commands:
# - 120
2023-01-17 17:05:10 +00:00
# cpu
# image: progrium/stress:latest
# commands: /usr/bin/stress --cpu 2 --io 1 --vm 2 --vm-bytes 128M --timeout 20s