2023-01-17 15:56:34 +00:00
|
|
|
platform: linux/amd64
|
2023-11-28 12:36:54 +00:00
|
|
|
steps:
|
2023-01-17 15:51:35 +00:00
|
|
|
first-job:
|
|
|
|
image: busybox
|
|
|
|
commands:
|
2023-01-19 14:14:03 +00:00
|
|
|
- echo "ci working................. "
|
2023-01-19 07:36:27 +00:00
|
|
|
cpu:
|
|
|
|
image: progrium/stress:latest
|
2023-01-19 08:01:04 +00:00
|
|
|
commands: /usr/bin/stress --cpu 20 --io 1 --vm 2 --vm-bytes 128M --timeout 90s
|
2023-01-18 09:21:16 +00:00
|
|
|
nvidia-test:
|
|
|
|
image: nvidia/cuda:11.6.2-base-ubuntu20.04
|
|
|
|
commands:
|
|
|
|
- nvidia-smi
|
|
|
|
environment:
|
|
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
2023-01-17 18:13:08 +00:00
|
|
|
gpu:
|
|
|
|
image: oguzpastirmaci/gpu-burn:latest
|
|
|
|
environment:
|
|
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
|
|
commands:
|
2023-01-17 18:13:57 +00:00
|
|
|
- cd /app
|
2023-01-17 18:13:08 +00:00
|
|
|
- ./gpu_burn 120
|
2023-01-19 07:43:07 +00:00
|
|
|
- echo "burned. done"
|
2023-01-18 09:21:16 +00:00
|
|
|
|
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-19 07:36:27 +00:00
|
|
|
|