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
|
||||
# type: exec
|
||||
|
@ -16,28 +29,28 @@
|
|||
# - ./tools/ci/amd64/msvc/unit_tests.ps1
|
||||
#
|
||||
# ---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: amd64 — gcc
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
steps:
|
||||
- name: unit tests
|
||||
image: ci:latest
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- env
|
||||
- echo ${PATH}
|
||||
- echo $${PATH}
|
||||
- echo $DISPLAY
|
||||
- echo ${DISPLAY}
|
||||
- echo $${DISPLAY}
|
||||
- echo ${NVIDIA_VISIBLE_DEVICES}
|
||||
- echo $${NVIDIA_VISIBLE_DEVICES}
|
||||
|
||||
- ./tools/ci/amd64/gcc/unit_tests.sh
|
||||
#kind: pipeline
|
||||
#type: docker
|
||||
#name: amd64 — gcc
|
||||
#trigger:
|
||||
# branch:
|
||||
# - main
|
||||
#
|
||||
#steps:
|
||||
#- name: unit tests
|
||||
# image: ci:latest
|
||||
# pull: if-not-exists
|
||||
# commands:
|
||||
# - env
|
||||
# - echo ${PATH}
|
||||
# - echo $${PATH}
|
||||
# - echo $DISPLAY
|
||||
# - echo ${DISPLAY}
|
||||
# - echo $${DISPLAY}
|
||||
# - echo ${NVIDIA_VISIBLE_DEVICES}
|
||||
# - echo $${NVIDIA_VISIBLE_DEVICES}
|
||||
#
|
||||
# - ./tools/ci/amd64/gcc/unit_tests.sh
|
||||
|
||||
# - name: valgrind
|
||||
# image: ci:latest
|
||||
|
|
Loading…
Add table
Reference in a new issue