test-ci/.woodpecker.yml

35 lines
1.0 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 17:44:05 +00:00
nvidia-test:
2023-01-17 17:47:17 +00:00
image: nvidia/cuda:11.6.2-base-ubuntu20.04
2023-01-17 17:36:22 +00:00
commands:
2023-01-17 17:44:05 +00:00
- nvidia-smi
2023-01-17 17:57:09 +00:00
- apt update -y && apt install git build-essential wget -y
2023-01-17 17:49:07 +00:00
- git clone https://github.com/wilicc/gpu-burn
2023-01-17 17:56:31 +00:00
- wget 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
2023-01-17 17:49:07 +00:00
- cd gpu-burn
- make
- ./gpu_burn 60
2023-01-17 17:45:56 +00:00
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