diff --git a/.drone.yml b/.drone.yml index a953d5e..234aa2a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,13 @@ -kind: pipeline -type: docker -name: gpu-test - -steps: - - name: gpu-check - image: nvidia/cuda:12.1.0-base-ubuntu22.04 - pull: if-not-exists - commands: - - nvidia-smi +# kind: pipeline +# type: docker +# name: gpu-test +# +# steps: +# - name: gpu-check +# image: nvidia/cuda:12.1.0-base-ubuntu22.04 +# pull: if-not-exists +# commands: +# - nvidia-smi # --- # kind: pipeline @@ -27,28 +27,19 @@ steps: # - ./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: + - ./tools/ci/amd64/gcc/unit_tests.sh # - name: valgrind # image: ci:latest diff --git a/tools/ci/amd64/Dockerfile b/tools/ci/amd64/Dockerfile index ce2e210..b15c2d8 100644 --- a/tools/ci/amd64/Dockerfile +++ b/tools/ci/amd64/Dockerfile @@ -42,6 +42,7 @@ qt6-base \ valgrind \ vulkan-headers \ vulkan-icd-loader \ +vulkan-tools \ vulkan-validation-layers \ wayland \ wayland-protocols \ @@ -96,3 +97,13 @@ git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \ \ && cd ../.. \ && rm -rf llvm-project + +RUN \ +sudo pacman -S --needed --noconfirm --disable-download-timeout \ +lshw \ +linux-firmware-nvidia \ +nvidia-dkms \ +nvidia-utils \ +vulkan-tools \ +vulkan-headers \ +vulkan-validation-layers