ci: documentation pipelines #39
					 1 changed files with 91 additions and 91 deletions
				
			
		
							
								
								
									
										182
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										182
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -1,94 +1,93 @@
 | 
				
			||||||
---
 | 
					# ---
 | 
				
			||||||
kind: pipeline
 | 
					# kind: pipeline
 | 
				
			||||||
type: exec
 | 
					# type: exec
 | 
				
			||||||
name: amd64 — msvc
 | 
					# name: amd64 — msvc
 | 
				
			||||||
trigger:
 | 
					# trigger:
 | 
				
			||||||
  branch:
 | 
					#   branch:
 | 
				
			||||||
  - main
 | 
					#   - main
 | 
				
			||||||
platform:
 | 
					# platform:
 | 
				
			||||||
  os: windows
 | 
					#   os: windows
 | 
				
			||||||
  arch: amd64
 | 
					#   arch: amd64
 | 
				
			||||||
 | 
					# 
 | 
				
			||||||
steps:
 | 
					# steps:
 | 
				
			||||||
- name: unit tests
 | 
					# - name: unit tests
 | 
				
			||||||
  shell: powershell
 | 
					#   shell: powershell
 | 
				
			||||||
  commands: 
 | 
					#   commands: 
 | 
				
			||||||
    - ./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: amd64_gcc_unit_tests:latest
 | 
					#   image: amd64_gcc_unit_tests:latest
 | 
				
			||||||
  pull: if-not-exists
 | 
					#   pull: if-not-exists
 | 
				
			||||||
  commands:
 | 
					#   commands:
 | 
				
			||||||
    - ./tools/ci/amd64/gcc/unit_tests.sh
 | 
					#     - ./tools/ci/amd64/gcc/unit_tests.sh
 | 
				
			||||||
 | 
					# 
 | 
				
			||||||
- name: valgrind
 | 
					# - name: valgrind
 | 
				
			||||||
  image: amd64_gcc_valgrind:latest
 | 
					#   image: amd64_gcc_valgrind: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: amd64_clang_coverage:latest
 | 
					#   image: amd64_clang_coverage: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: amd64_clang_lsan:latest
 | 
					#   image: amd64_clang_lsan: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: amd64_clang_msan:latest
 | 
					#   image: amd64_clang_msan: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: clang_tidy:latest
 | 
					#   image: clang_tidy: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: clang_format:latest
 | 
					#   image: clang_format: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
 | 
					name: documentation
 | 
				
			||||||
| 
						 | 
					@ -100,6 +99,7 @@ trigger:
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- name: build and deploy
 | 
					- name: build and deploy
 | 
				
			||||||
  image: documentation:latest
 | 
					  image: documentation:latest
 | 
				
			||||||
 | 
					  pull: if-not-exists
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
    # Build docs
 | 
					    # Build docs
 | 
				
			||||||
    - pwd
 | 
					    - pwd
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue