diff --git a/.drone.yml b/.drone.yml index 0cc8ac0..2de9637 100644 --- a/.drone.yml +++ b/.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