test-ci/.woodpecker.yml

36 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 18:13:08 +00:00
gpu:
image: oguzpastirmaci/gpu-burn:latest
environment:
- NVIDIA_VISIBLE_DEVICES=all
commands:
- ./gpu_burn 120
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 18:13:08 +00:00
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