This commit is contained in:
parent
3e2cf440c9
commit
65d086c3d4
1 changed files with 35 additions and 22 deletions
57
.drone.yml
57
.drone.yml
|
@ -1,3 +1,16 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: gpu-test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: gpu-check
|
||||||
|
image: nvidia/cuda:12.0-base
|
||||||
|
commands:
|
||||||
|
- nvidia-smi
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
gpu: 1
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# kind: pipeline
|
# kind: pipeline
|
||||||
# type: exec
|
# type: exec
|
||||||
|
@ -16,28 +29,28 @@
|
||||||
# - ./tools/ci/amd64/msvc/unit_tests.ps1
|
# - ./tools/ci/amd64/msvc/unit_tests.ps1
|
||||||
#
|
#
|
||||||
# ---
|
# ---
|
||||||
kind: pipeline
|
#kind: pipeline
|
||||||
type: docker
|
#type: docker
|
||||||
name: amd64 — gcc
|
#name: amd64 — gcc
|
||||||
trigger:
|
#trigger:
|
||||||
branch:
|
# branch:
|
||||||
- main
|
# - main
|
||||||
|
#
|
||||||
steps:
|
#steps:
|
||||||
- name: unit tests
|
#- name: unit tests
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- env
|
# - env
|
||||||
- echo ${PATH}
|
# - echo ${PATH}
|
||||||
- echo $${PATH}
|
# - echo $${PATH}
|
||||||
- echo $DISPLAY
|
# - echo $DISPLAY
|
||||||
- echo ${DISPLAY}
|
# - echo ${DISPLAY}
|
||||||
- echo $${DISPLAY}
|
# - echo $${DISPLAY}
|
||||||
- echo ${NVIDIA_VISIBLE_DEVICES}
|
# - echo ${NVIDIA_VISIBLE_DEVICES}
|
||||||
- echo $${NVIDIA_VISIBLE_DEVICES}
|
# - echo $${NVIDIA_VISIBLE_DEVICES}
|
||||||
|
#
|
||||||
- ./tools/ci/amd64/gcc/unit_tests.sh
|
# - ./tools/ci/amd64/gcc/unit_tests.sh
|
||||||
|
|
||||||
# - name: valgrind
|
# - name: valgrind
|
||||||
# image: ci:latest
|
# image: ci:latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue