Commit 29514d84 authored by Valentin Platzgummer's avatar Valentin Platzgummer

temp

parent 5598870e

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

version: '{build}'
shallow_clone: true
platform: x64
environment:
MSBUILD_FLAGS: /verbosity:minimal /maxcpucount
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix:
# Makefile
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VERSION: 2019
BUILDER: make
LANGUAGE: cc
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VERSION: 2019
BUILDER: make
LANGUAGE: python
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VERSION: 2019
BUILDER: make
LANGUAGE: java
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VERSION: 2019
BUILDER: make
LANGUAGE: dotnet
# CMake
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VERSION: 2019
BUILDER: cmake
CMAKE_GENERATOR: "Visual Studio 16 2019"
matrix:
fast_finish: false
cache:
- dependencies\install -> makefiles\Makefile.third_party.win.mk
- build\dependencies\install -> cmake\dependencies
before_build:
- git config --global user.email "ci@appveyor.com"
- git config --global user.name "CI"
- if "%VS_VERSION%"=="2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- if "%VS_VERSION%"=="2019" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- set PATH=C:\Python38-x64;%PATH%
- tools\win\which.exe python.exe
- python -V
- python -m pip install virtualenv wheel absl-py mypy-protobuf
- set PATH=C:\Python38-x64\Scripts;%PATH%
- tools\win\which.exe protoc-gen-mypy
- tools\win\which.exe dotnet.exe
- dotnet --info
- set "JAVA_HOME=C:\Program Files\Java\jdk11"
- set "PATH=C:\Program Files\Java\jdk11\bin;%PATH%"
- java -version
- set CMAKE_BUILD_PARALLEL_LEVEL=4
- if "%BUILDER%"=="cmake" cmake --version
- if "%BUILDER%"=="cmake" cmake -S. -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_DEPS:BOOL=ON -G "%CMAKE_GENERATOR%" || VER>NUL
- if "%BUILDER%"=="make" del "C:\Program Files\Git\usr\bin\sh.exe"
- if "%BUILDER%"=="make" tools\make.exe detect
build_script:
- if "%BUILDER%"=="cmake" cmake --build build --config Release --target ALL_BUILD -- %MSBUILD_FLAGS%
- if "%BUILDER%"=="make" tools\make.exe help_%LANGUAGE%
- if "%BUILDER%"=="make" ( tools\make.exe %LANGUAGE% || ( tools\make.exe third_party && tools\make.exe %LANGUAGE% ) )
- if "%BUILDER%"=="make" tools\make.exe test_%LANGUAGE%
- if "%LANGUAGE%"=="cc" tools\make.exe test_fz
test_script:
- if "%BUILDER%"=="cmake" cmake --build build --config Release --target RUN_TESTS
---
Language: Cpp
BasedOnStyle: Google
# Forse pointer to the type for C++
DerivePointerAlignment: false
PointerAlignment: Left
---
Language: Java
BasedOnStyle: Google
---
Language: CSharp
BasedOnStyle: Microsoft
...
# ----------------------------------
# Options affecting listfile parsing
# ----------------------------------
with section("parse"):
# Specify structure for custom cmake functions
additional_commands = {
'foo': { 'flags': ['BAR', 'BAZ'],
'kwargs': {'DEPENDS': '*',
'HEADERS': '*',
'SOURCES': '*'}},
'build_git_dependency': { 'flags': [],
'kwargs': { 'NAME': '*',
'REPOSITORY': '*',
'TAG': '*',
'APPLY_PATCH': '*',
'CMAKE_ARGS': '*'}}
}
# Specify variable tags.
vartags = []
# Specify property tags.
proptags = []
# -----------------------------
# Options affecting formatting.
# -----------------------------
with section("format"):
# How wide to allow formatted cmake files
line_width = 80
# How many spaces to tab for indent
tab_size = 2
# If an argument group contains more than this many sub-groups (parg or kwarg
# groups) then force it to a vertical layout.
max_subgroups_hwrap = 2
# If a positional argument group contains more than this many arguments, then
# force it to a vertical layout.
max_pargs_hwrap = 6
# If a cmdline positional group consumes more than this many lines without
# nesting, then invalidate the layout (and nest)
max_rows_cmdline = 2
# If true, separate flow control names from their parentheses with a space
separate_ctrl_name_with_space = False
# If true, separate function names from parentheses with a space
separate_fn_name_with_space = False
# If a statement is wrapped to more than one line, than dangle the closing
# parenthesis on its own line.
dangle_parens = False
# If the trailing parenthesis must be 'dangled' on its on line, then align it
# to this reference: `prefix`: the start of the statement, `prefix-indent`:
# the start of the statement, plus one indentation level, `child`: align to
# the column of the arguments
dangle_align = 'prefix'
# If the statement spelling length (including space and parenthesis) is
# smaller than this amount, then force reject nested layouts.
min_prefix_chars = 4
# If the statement spelling length (including space and parenthesis) is larger
# than the tab width by more than this amount, then force reject un-nested
# layouts.
max_prefix_chars = 10
# If a candidate layout is wrapped horizontally but it exceeds this many
# lines, then reject the layout.
max_lines_hwrap = 2
# What style line endings to use in the output.
line_ending = 'unix'
# Format command names consistently as 'lower' or 'upper' case
command_case = 'canonical'
# Format keywords consistently as 'lower' or 'upper' case
keyword_case = 'unchanged'
# A list of command names which should always be wrapped
always_wrap = []
# If true, the argument lists which are known to be sortable will be sorted
# lexicographicall
enable_sort = True
# If true, the parsers may infer whether or not an argument list is sortable
# (without annotation).
autosort = False
# By default, if cmake-format cannot successfully fit everything into the