Compare commits
No commits in common. "fc0f0393958d821e2298e203cac61b7134f605c2" and "f04e3652a52fe4ef05b5a567849f1bb6fd6ec7dc" have entirely different histories.
fc0f039395
...
f04e3652a5
3 changed files with 145 additions and 124 deletions
257
.drone.yml
257
.drone.yml
|
|
@ -1,21 +1,32 @@
|
||||||
---
|
# kind: pipeline
|
||||||
kind: pipeline
|
# type: docker
|
||||||
type: exec
|
# name: gpu-test
|
||||||
name: amd64 — msvc
|
#
|
||||||
trigger:
|
# steps:
|
||||||
branch:
|
# - name: gpu-check
|
||||||
- main
|
# image: nvidia/cuda:12.1.0-base-ubuntu22.04
|
||||||
platform:
|
# pull: if-not-exists
|
||||||
os: windows
|
# commands:
|
||||||
arch: amd64
|
# - nvidia-smi
|
||||||
|
|
||||||
steps:
|
# ---
|
||||||
- name: unit tests
|
# kind: pipeline
|
||||||
shell: powershell
|
# type: exec
|
||||||
commands:
|
# name: amd64 — msvc
|
||||||
- ./tools/ci/amd64/msvc/unit_tests.ps1
|
# trigger:
|
||||||
|
# branch:
|
||||||
---
|
# - main
|
||||||
|
# platform:
|
||||||
|
# os: windows
|
||||||
|
# arch: amd64
|
||||||
|
#
|
||||||
|
# steps:
|
||||||
|
# - name: unit tests
|
||||||
|
# shell: powershell
|
||||||
|
# commands:
|
||||||
|
# - ./tools/ci/amd64/msvc/unit_tests.ps1
|
||||||
|
#
|
||||||
|
# ---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: amd64 — gcc
|
name: amd64 — gcc
|
||||||
|
|
@ -30,110 +41,110 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- ./tools/ci/amd64/gcc/unit_tests.sh
|
- ./tools/ci/amd64/gcc/unit_tests.sh
|
||||||
|
|
||||||
- name: valgrind
|
# - name: valgrind
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- ./tools/ci/amd64/gcc/valgrind.sh
|
# - ./tools/ci/amd64/gcc/valgrind.sh
|
||||||
|
|
||||||
---
|
# ---
|
||||||
kind: pipeline
|
# kind: pipeline
|
||||||
type: docker
|
# type: docker
|
||||||
name: amd64 — clang
|
# name: amd64 — clang
|
||||||
trigger:
|
# trigger:
|
||||||
branch:
|
# branch:
|
||||||
- main
|
# - main
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: code coverage
|
# - name: code coverage
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
environment:
|
# environment:
|
||||||
CODECOV_TOKEN:
|
# CODECOV_TOKEN:
|
||||||
from_secret: CODECOV_TOKEN
|
# from_secret: CODECOV_TOKEN
|
||||||
commands:
|
# commands:
|
||||||
- ./tools/ci/amd64/clang/coverage.sh
|
# - ./tools/ci/amd64/clang/coverage.sh
|
||||||
|
#
|
||||||
- name: leak sanitizer
|
# - name: leak sanitizer
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- ./tools/ci/amd64/clang/lsan.sh
|
# - ./tools/ci/amd64/clang/lsan.sh
|
||||||
|
#
|
||||||
- name: memory sanitizer
|
# - name: memory sanitizer
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- ./tools/ci/amd64/clang/msan.sh
|
# - ./tools/ci/amd64/clang/msan.sh
|
||||||
|
#
|
||||||
---
|
# ---
|
||||||
kind: pipeline
|
# kind: pipeline
|
||||||
type: docker
|
# type: docker
|
||||||
name: static analysis
|
# name: static analysis
|
||||||
trigger:
|
# trigger:
|
||||||
branch:
|
# branch:
|
||||||
- main
|
# - main
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: clang tidy
|
# - name: clang tidy
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
privileged: true
|
# privileged: true
|
||||||
commands:
|
# commands:
|
||||||
- ./tools/ci/static_analysis/clang_tidy.sh
|
# - ./tools/ci/static_analysis/clang_tidy.sh
|
||||||
|
#
|
||||||
- name: clang format
|
# - name: clang format
|
||||||
image: ci:latest
|
# image: ci:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- ./tools/ci/static_analysis/clang_format.sh
|
# - ./tools/ci/static_analysis/clang_format.sh
|
||||||
|
#
|
||||||
---
|
# ---
|
||||||
kind: pipeline
|
# kind: pipeline
|
||||||
type: docker
|
# type: docker
|
||||||
name: documentation — development
|
# name: documentation — development
|
||||||
node:
|
# node:
|
||||||
environment: ryali
|
# environment: ryali
|
||||||
trigger:
|
# trigger:
|
||||||
branch:
|
# branch:
|
||||||
- main
|
# - main
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: build and deploy
|
# - name: build and deploy
|
||||||
image: documentation:latest
|
# image: documentation:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- pwd
|
# - pwd
|
||||||
- cd docs
|
# - cd docs
|
||||||
- mkdir generated
|
# - mkdir generated
|
||||||
- touch generated/changelogs.rst
|
# - touch generated/changelogs.rst
|
||||||
- touch generated/api.rst
|
# - touch generated/api.rst
|
||||||
- sphinx-build -M html . .
|
# - sphinx-build -M html . .
|
||||||
|
#
|
||||||
- rm -rf /light_docs_dev/*
|
# - rm -rf /light_docs_dev/*
|
||||||
- mv ./html/* /light_docs_dev/
|
# - mv ./html/* /light_docs_dev/
|
||||||
|
#
|
||||||
---
|
# ---
|
||||||
|
#
|
||||||
kind: pipeline
|
# kind: pipeline
|
||||||
type: docker
|
# type: docker
|
||||||
name: documentation — production
|
# name: documentation — production
|
||||||
node:
|
# node:
|
||||||
environment: ryali
|
# environment: ryali
|
||||||
trigger:
|
# trigger:
|
||||||
event:
|
# event:
|
||||||
- tag
|
# - tag
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: build and deploy
|
# - name: build and deploy
|
||||||
image: documentation:latest
|
# image: documentation:latest
|
||||||
pull: if-not-exists
|
# pull: if-not-exists
|
||||||
commands:
|
# commands:
|
||||||
- cd docs
|
# - cd docs
|
||||||
- mkdir generated
|
# - mkdir generated
|
||||||
- touch generated/changelogs.rst
|
# - touch generated/changelogs.rst
|
||||||
- touch generated/api.rst
|
# - touch generated/api.rst
|
||||||
- sphinx-build -M html . .
|
# - sphinx-build -M html . .
|
||||||
|
#
|
||||||
- rm -rf /light_docs/*
|
# - rm -rf /light_docs/*
|
||||||
- mv ./html/* /light_docs/
|
# - mv ./html/* /light_docs/
|
||||||
|
|
|
||||||
|
|
@ -97,3 +97,13 @@ git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \
|
||||||
\
|
\
|
||||||
&& cd ../.. \
|
&& cd ../.. \
|
||||||
&& rm -rf llvm-project
|
&& 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
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,5 @@ cmake .. \
|
||||||
|
|
||||||
for test in $(find ./ -type f -name '*_tests' -executable); do
|
for test in $(find ./ -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
gdb --return-child-result -ex='set confirm off' -ex='run' -ex='bt' -ex='quit' "$test"
|
gdb -ex='set confirm off' -ex='run' -ex='bt' -ex='quit' "$test"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue