mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Add filex excluded by the gitignore.
This commit is contained in:
parent
b04a71dd24
commit
354089270a
40
vendor/MaxmindDB/.github/workflows/codeql-analysis.yml
vendored
Normal file
40
vendor/MaxmindDB/.github/workflows/codeql-analysis.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: "Code scanning - action"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 7 * * 2'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
CodeQL-Build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
# We must fetch at least the immediate parents so that if this is
|
||||||
|
# a pull request then we can checkout the head.
|
||||||
|
fetch-depth: 2
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
# If this run was triggered by a pull request event, then checkout
|
||||||
|
# the head of the pull request instead of the merge commit.
|
||||||
|
- run: git checkout HEAD^2
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v1
|
||||||
|
|
||||||
|
- run: sudo apt install libipc-run3-perl libfile-slurp-perl libfile-which-perl pandoc
|
||||||
|
- run: |
|
||||||
|
./bootstrap
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make safedist
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v1
|
46
vendor/MaxmindDB/.github/workflows/test.yml
vendored
Normal file
46
vendor/MaxmindDB/.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
name: Run tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: '3 20 * * SUN'
|
||||||
|
jobs:
|
||||||
|
test-autoconf:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
cc: [gcc, clang]
|
||||||
|
posix: ['', -D_POSIX_C_SOURCE=200112L]
|
||||||
|
name: Autotools build on ${{matrix.os}} using ${{matrix.cc}} ${{matrix.posix}}
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.cc }}
|
||||||
|
VERBOSE: 1
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- run: sudo apt install libipc-run3-perl
|
||||||
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
|
- run: brew install autoconf automake libtool
|
||||||
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
|
- run: ./bootstrap
|
||||||
|
- run: ./configure
|
||||||
|
env:
|
||||||
|
CFLAGS: -std=c99 -Wall -Wextra -Werror -Wno-unused-function -Wno-unused-parameter ${{ matrix.posix }}
|
||||||
|
- run: make
|
||||||
|
- run: make check
|
||||||
|
|
||||||
|
test-cmake:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
name: CMake build on ${{matrix.os}}
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- run: cmake -DBUILD_TESTING=ON -V .
|
||||||
|
- run: cmake --build .
|
||||||
|
- run: ctest -V .
|
46
vendor/MaxmindDB/.gitignore
vendored
Normal file
46
vendor/MaxmindDB/.gitignore
vendored
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.so
|
||||||
|
*.swp
|
||||||
|
*/.deps
|
||||||
|
*/.libs
|
||||||
|
*~
|
||||||
|
.\#*
|
||||||
|
.gh-pages
|
||||||
|
/INSTALL
|
||||||
|
/autom4te.cache
|
||||||
|
/bin/country_lookup
|
||||||
|
/bin/mmdbdump
|
||||||
|
/bin/mmdblookup
|
||||||
|
/compile
|
||||||
|
/config.*
|
||||||
|
/configure
|
||||||
|
/depcomp
|
||||||
|
/include/maxminddb_config.h
|
||||||
|
/install-sh
|
||||||
|
/libmaxminddb-*
|
||||||
|
/libtool
|
||||||
|
/ltmain.sh
|
||||||
|
/man
|
||||||
|
/missing
|
||||||
|
/src/libmaxminddb.pc
|
||||||
|
/src/libmaxminddb.a
|
||||||
|
/src/test-data-pool
|
||||||
|
/t/*.log
|
||||||
|
/t/*.trs
|
||||||
|
/t/*_t
|
||||||
|
/t/*-t
|
||||||
|
/t/libtap.a
|
||||||
|
/test-driver
|
||||||
|
\#*\#
|
||||||
|
aclocal.m4
|
||||||
|
stamp-h*
|
||||||
|
CMakeCache.txt
|
||||||
|
CMakeFiles/
|
||||||
|
CTestTestfile.cmake
|
||||||
|
cmake_install.cmake
|
||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
Testing/
|
||||||
|
install_manifest.txt
|
9
vendor/MaxmindDB/.gitmodules
vendored
Normal file
9
vendor/MaxmindDB/.gitmodules
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[submodule "maxmind-db"]
|
||||||
|
path = maxmind-db
|
||||||
|
url = https://github.com/maxmind/MaxMind-DB.git
|
||||||
|
[submodule "t/libtap"]
|
||||||
|
path = t/libtap
|
||||||
|
url = https://github.com/zorgnax/libtap.git
|
||||||
|
[submodule "t/maxmind-db"]
|
||||||
|
path = t/maxmind-db
|
||||||
|
url = https://github.com/maxmind/MaxMind-DB.git
|
11
vendor/MaxmindDB/.perltidyrc
vendored
Normal file
11
vendor/MaxmindDB/.perltidyrc
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--blank-lines-before-packages=0
|
||||||
|
--iterations=2
|
||||||
|
--no-outdent-long-comments
|
||||||
|
-bar
|
||||||
|
-boc
|
||||||
|
-ci=4
|
||||||
|
-i=4
|
||||||
|
-l=78
|
||||||
|
-nolq
|
||||||
|
-se
|
||||||
|
-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
|
78
vendor/MaxmindDB/.uncrustify.cfg
vendored
Normal file
78
vendor/MaxmindDB/.uncrustify.cfg
vendored
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
#
|
||||||
|
# based on uncrustify config file for the linux kernel
|
||||||
|
#
|
||||||
|
|
||||||
|
code_width = 80
|
||||||
|
indent_case_brace = 4
|
||||||
|
indent_columns = 4
|
||||||
|
indent_label = 2 # pos: absolute col, neg: relative column
|
||||||
|
indent_with_tabs = 0
|
||||||
|
|
||||||
|
#
|
||||||
|
# inter-symbol newlines
|
||||||
|
#
|
||||||
|
nl_brace_else = remove # "} else" vs "} \n else" - cuddle else
|
||||||
|
nl_brace_while = remove # "} while" vs "} \n while" - cuddle while
|
||||||
|
nl_do_brace = remove # "do {" vs "do \n {"
|
||||||
|
nl_else_brace = remove # "else {" vs "else \n {"
|
||||||
|
nl_enum_brace = remove # "enum {" vs "enum \n {"
|
||||||
|
nl_fcall_brace = remove # "list_for_each() {" vs "list_for_each()\n{"
|
||||||
|
nl_fdef_brace = force # "int foo() {" vs "int foo()\n{"
|
||||||
|
nl_for_brace = remove # "for () {" vs "for () \n {"
|
||||||
|
nl_func_var_def_blk = 0 # don't add newlines after a block of var declarations
|
||||||
|
nl_if_brace = remove # "if () {" vs "if () \n {"
|
||||||
|
nl_multi_line_define = true
|
||||||
|
nl_struct_brace = remove # "struct {" vs "struct \n {"
|
||||||
|
nl_switch_brace = remove # "switch () {" vs "switch () \n {"
|
||||||
|
nl_union_brace = remove # "union {" vs "union \n {"
|
||||||
|
nl_while_brace = remove # "while () {" vs "while () \n {"
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Source code modifications
|
||||||
|
#
|
||||||
|
mod_full_brace_do = force # "do a--; while ();" vs "do { a--; } while ();"
|
||||||
|
mod_full_brace_for = force # "for () a--;" vs "for () { a--; }"
|
||||||
|
mod_full_brace_if = force # "if (a) a--;" vs "if (a) { a--; }"
|
||||||
|
mod_full_brace_nl = 3 # don't remove if more than 3 newlines
|
||||||
|
mod_full_brace_while = force # "while (a) a--;" vs "while (a) { a--; }"
|
||||||
|
mod_paren_on_return = remove # "return 1;" vs "return (1);"
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# inter-character spacing options
|
||||||
|
#
|
||||||
|
sp_after_cast = remove # "(int) a" vs "(int)a"
|
||||||
|
sp_after_comma = force
|
||||||
|
sp_after_sparen = force # "if () {" vs "if (){"
|
||||||
|
sp_arith = force
|
||||||
|
sp_assign = force
|
||||||
|
sp_assign = force
|
||||||
|
sp_before_comma = remove
|
||||||
|
sp_before_ptr_star = force # "char *foo" vs "char* foo
|
||||||
|
sp_before_sparen = force # "if (" vs "if("
|
||||||
|
sp_between_ptr_star = remove # "char * *foo" vs "char **foo"
|
||||||
|
sp_bool = force
|
||||||
|
sp_compare = force
|
||||||
|
sp_func_call_paren = remove # "foo (" vs "foo("
|
||||||
|
sp_func_def_paren = remove # "int foo (){" vs "int foo(){"
|
||||||
|
sp_func_proto_paren = remove # "int foo ();" vs "int foo();"
|
||||||
|
sp_inside_braces = force # "{ 1 }" vs "{1}"
|
||||||
|
sp_inside_braces_enum = force # "{ 1 }" vs "{1}"
|
||||||
|
sp_inside_braces_struct = force # "{ 1 }" vs "{1}"
|
||||||
|
sp_inside_sparen = remove
|
||||||
|
sp_paren_brace = force
|
||||||
|
sp_sizeof_paren = remove # "sizeof (int)" vs "sizeof(int)"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Aligning stuff
|
||||||
|
#
|
||||||
|
align_enum_equ_span = 4 # '=' in enum definition
|
||||||
|
align_nl_cont = true
|
||||||
|
align_on_tabstop = FALSE # align on tabstops
|
||||||
|
align_right_cmt_span = 3
|
||||||
|
align_struct_init_span = 1
|
||||||
|
align_struct_init_span = 3 # align stuff in a structure init '= { }'
|
||||||
|
align_var_def_star_style = 2 # void *foo;
|
||||||
|
align_var_struct_span = 0
|
||||||
|
align_with_tabs = FALSE # use tabs to align
|
33
vendor/POCO/.gitattributes
vendored
Normal file
33
vendor/POCO/.gitattributes
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Set default behaviour, in case users don't have core.autocrlf set.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Explicitly declare text files we want to always be normalized and converted
|
||||||
|
# to native line endings on checkout.
|
||||||
|
*.txt text
|
||||||
|
*.cpp text
|
||||||
|
*.c text
|
||||||
|
*.h text
|
||||||
|
*.cmd text
|
||||||
|
*.sln text
|
||||||
|
*.vcproj text
|
||||||
|
*.vcxproj text
|
||||||
|
*.vcxproj.filters text
|
||||||
|
*.page text
|
||||||
|
*.html text
|
||||||
|
*.xhtml text
|
||||||
|
*.css text
|
||||||
|
*.js text
|
||||||
|
*.progen text
|
||||||
|
*.xml text
|
||||||
|
*.xsd text
|
||||||
|
*.template text
|
||||||
|
*.properties text
|
||||||
|
*.ini text
|
||||||
|
*.vxbuild text
|
||||||
|
|
||||||
|
# Denote all files that are truly binary and should not be modified.
|
||||||
|
*.bin binary
|
||||||
|
*.mc binary
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.gif binary
|
146
vendor/POCO/.gitignore
vendored
Normal file
146
vendor/POCO/.gitignore
vendored
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
# Compiled #
|
||||||
|
############
|
||||||
|
*.com
|
||||||
|
*.class
|
||||||
|
*.dll
|
||||||
|
*.dylib
|
||||||
|
*.exe
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.so
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.d
|
||||||
|
*.vsp
|
||||||
|
*.psess
|
||||||
|
|
||||||
|
# Gradle #
|
||||||
|
##########
|
||||||
|
!gradle.properties
|
||||||
|
!settings.gradle
|
||||||
|
!build.gradle
|
||||||
|
!build.gradle.win
|
||||||
|
!travis/.gradle/gradle.properties
|
||||||
|
.gradle/
|
||||||
|
**/guild/
|
||||||
|
coverage/
|
||||||
|
|
||||||
|
# NuGet #
|
||||||
|
#########
|
||||||
|
*.nupkg
|
||||||
|
|
||||||
|
# WiX #
|
||||||
|
#######
|
||||||
|
*.msi
|
||||||
|
*.wixobj
|
||||||
|
*.wixpdb
|
||||||
|
|
||||||
|
# Make #
|
||||||
|
########
|
||||||
|
config.build
|
||||||
|
config.make
|
||||||
|
|
||||||
|
# CLion #
|
||||||
|
########
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# CMake #
|
||||||
|
########
|
||||||
|
cmake_install.cmake
|
||||||
|
cmake_uninstall.cmake
|
||||||
|
CMakeFiles
|
||||||
|
CMakeCache.txt
|
||||||
|
CPackConfig.cmake
|
||||||
|
CPackSourceConfig.cmake
|
||||||
|
cmake_*
|
||||||
|
cmake-build-*
|
||||||
|
|
||||||
|
# Packages #
|
||||||
|
############
|
||||||
|
# it's better to unpack these files and commit the raw source
|
||||||
|
# git has its own built in compression methods
|
||||||
|
*.7z
|
||||||
|
*.dmg
|
||||||
|
*.gz
|
||||||
|
*.iso
|
||||||
|
*.jar
|
||||||
|
*.rar
|
||||||
|
*.tar
|
||||||
|
*.zip
|
||||||
|
|
||||||
|
# Logs and databases #
|
||||||
|
######################
|
||||||
|
*.log*
|
||||||
|
*.sqlite
|
||||||
|
*.db
|
||||||
|
test*.txt
|
||||||
|
XML/testsuite/rss.xml
|
||||||
|
|
||||||
|
# OS generated files #
|
||||||
|
######################
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
._*
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
Icon?
|
||||||
|
ehthumbs.db
|
||||||
|
Thumbs.db
|
||||||
|
*~
|
||||||
|
|
||||||
|
# VS generated files #
|
||||||
|
######################
|
||||||
|
*.obj
|
||||||
|
*.exe
|
||||||
|
*.pdb
|
||||||
|
*.user
|
||||||
|
*.aps
|
||||||
|
*.pch
|
||||||
|
*.ipch
|
||||||
|
*.ncb
|
||||||
|
*.suo
|
||||||
|
*.sdf
|
||||||
|
*.opensdf
|
||||||
|
*.tlb
|
||||||
|
*.tlh
|
||||||
|
*.ilk
|
||||||
|
*.lib
|
||||||
|
*.exp
|
||||||
|
*.idb
|
||||||
|
*.rc
|
||||||
|
*.res
|
||||||
|
*.manifest
|
||||||
|
*.tlog
|
||||||
|
*.lastbuildstate
|
||||||
|
*.unsuccessfulbuild
|
||||||
|
*.opendb
|
||||||
|
.vs/
|
||||||
|
release_shared/
|
||||||
|
debug_shared/
|
||||||
|
release_static/
|
||||||
|
debug_static/
|
||||||
|
release_static_md/
|
||||||
|
debug_static_md/
|
||||||
|
release_static_mt/
|
||||||
|
debug_static_mt/
|
||||||
|
bin/
|
||||||
|
bin64/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
|
pocomsg.h
|
||||||
|
**/UpgradeLog*.XML
|
||||||
|
|
||||||
|
# Eclipse generated files #
|
||||||
|
###########################
|
||||||
|
.project
|
||||||
|
.cproject
|
||||||
|
.settings
|
||||||
|
cmake-build/
|
||||||
|
|
||||||
|
# Temporary files #
|
||||||
|
###################
|
||||||
|
*.bak
|
||||||
|
stage/
|
||||||
|
releases/
|
0
vendor/POCO/.gitmodules
vendored
Normal file
0
vendor/POCO/.gitmodules
vendored
Normal file
293
vendor/POCO/.travis.yml
vendored
Normal file
293
vendor/POCO/.travis.yml
vendored
Normal file
@ -0,0 +1,293 @@
|
|||||||
|
language: cpp
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- apt
|
||||||
|
|
||||||
|
services:
|
||||||
|
- mongodb
|
||||||
|
- redis
|
||||||
|
- postgresql
|
||||||
|
- mysql
|
||||||
|
|
||||||
|
addons:
|
||||||
|
postgresql: "9.4"
|
||||||
|
|
||||||
|
git:
|
||||||
|
submodules: false
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
slack:
|
||||||
|
secure: "EKysuMlTU3Uv5XFX+zuwHK/ej4wtD8+UjO5xvchCFMkRgM0V3rERVT1rV6NocNBH4hjTcvue9DEKdWAtqdDh06vTOHGKdnZ/e204jA38HfcIA0SPVbQXzjckQXALvKl51OPOmGuI7Feo4wyohzUyGoDLo1bom02xqDfC3caQB5Q="
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- name: Android (API level 19)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- openjdk-8-jdk
|
||||||
|
before_install:
|
||||||
|
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
|
||||||
|
- wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
|
||||||
|
- unzip -qq sdk-tools-linux-4333796.zip -d /opt/android-sdk
|
||||||
|
- rm sdk-tools-linux-4333796.zip
|
||||||
|
- echo "y" | /opt/android-sdk/tools/bin/sdkmanager "platform-tools" "system-images;android-24;default;armeabi-v7a" "platforms;android-24" "emulator" "ndk-bundle" "cmake;3.10.2.4988404" > /dev/null
|
||||||
|
before_script:
|
||||||
|
- export TERM=dumb
|
||||||
|
- export _NO_CHECK_SIGNATURE=true
|
||||||
|
- export ANDROID_SDK_ROOT=/opt/android-sdk
|
||||||
|
- echo no | /opt/android-sdk/tools/bin/avdmanager create avd -n test -k "system-images;android-24;default;armeabi-v7a"
|
||||||
|
- /opt/android-sdk/emulator/emulator -avd test -no-audio -no-window -dns-server 8.8.8.8 &
|
||||||
|
#- android-wait-for-emulator || android-wait-for-emulator
|
||||||
|
- /opt/android-sdk/platform-tools/adb shell input keyevent 82 &
|
||||||
|
script:
|
||||||
|
# Mandatory cmake parameter to set API level and platform for the android toolchain:
|
||||||
|
# /usr/local/android-sdk/cmake/3.6.4111459/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-22
|
||||||
|
# See also in /usr/local/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake
|
||||||
|
|
||||||
|
# Using the ninja build command. Is much faster then make build command.
|
||||||
|
- /opt/android-sdk/cmake/3.10.2.4988404/bin/cmake -H. -Bcmake-build -GNinja -DANDROID_ABI=armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-19 -DCMAKE_MAKE_PROGRAM=/opt/android-sdk/cmake/3.10.2.4988404/bin/ninja -DANDROID_STL="c++_static" -DANDROID_CPP_FEATURES="exceptions rtti" -DENABLE_APACHECONNECTOR=OFF -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_JWT=OFF -DENABLE_DATA_MYSQL=OFF -DENABLE_DATA_POSTGRESQL=OFF -DENABLE_TESTS=ON -DENABLE_LONG_RUNNING_TESTS=OFF -DOLD_REDIS_VERSION=ON &&
|
||||||
|
/opt/android-sdk/cmake/3.10.2.4988404/bin/cmake --build cmake-build --target all #&&
|
||||||
|
#cd cmake-build && travis_wait 30 /opt/android-sdk/cmake/3.10.2.4988404/bin/ctest -E Foundation --output-on-failure FIXME Android emulator hangs
|
||||||
|
|
||||||
|
- name: Android (API level 24 arm64-v8a)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- openjdk-8-jdk
|
||||||
|
before_install:
|
||||||
|
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
|
||||||
|
- wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
|
||||||
|
- unzip -qq sdk-tools-linux-4333796.zip -d /opt/android-sdk
|
||||||
|
- rm sdk-tools-linux-4333796.zip
|
||||||
|
- echo "y" | /opt/android-sdk/tools/bin/sdkmanager "platform-tools" "system-images;android-24;default;arm64-v8a" "platforms;android-24" "emulator" "ndk-bundle" "cmake;3.10.2.4988404" > /dev/null
|
||||||
|
before_script:
|
||||||
|
- export TERM=dumb
|
||||||
|
- export _NO_CHECK_SIGNATURE=true
|
||||||
|
- export ANDROID_SDK_ROOT=/opt/android-sdk
|
||||||
|
- echo no | /opt/android-sdk/tools/bin/avdmanager create avd -n test -k "system-images;android-24;default;arm64-v8a"
|
||||||
|
- /opt/android-sdk/emulator/emulator -avd test -no-audio -no-window -dns-server 8.8.8.8 &
|
||||||
|
#- android-wait-for-emulator || android-wait-for-emulator
|
||||||
|
- /opt/android-sdk/platform-tools/adb shell input keyevent 82 &
|
||||||
|
script:
|
||||||
|
# Mandatory cmake parameter to set API level and platform for the android toolchain:
|
||||||
|
# /usr/local/android-sdk/cmake/3.6.4111459/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-22
|
||||||
|
# See also in /usr/local/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake
|
||||||
|
|
||||||
|
# Using the ninja build command. Is much faster then make build command.
|
||||||
|
- /opt/android-sdk/cmake/3.10.2.4988404/bin/cmake -H. -Bcmake-build -GNinja -DANDROID_ABI=arm64-v8a -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-24 -DCMAKE_MAKE_PROGRAM=/opt/android-sdk/cmake/3.10.2.4988404/bin/ninja -DANDROID_STL="c++_static" -DANDROID_CPP_FEATURES="exceptions rtti" -DENABLE_APACHECONNECTOR=OFF -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_JWT=OFF -DENABLE_DATA_MYSQL=OFF -DENABLE_DATA_POSTGRESQL=OFF -DENABLE_TESTS=ON -DENABLE_LONG_RUNNING_TESTS=OFF -DOLD_REDIS_VERSION=ON &&
|
||||||
|
/opt/android-sdk/cmake/3.10.2.4988404/bin/cmake --build cmake-build --target all #&&
|
||||||
|
#cd cmake-build && travis_wait 30 /opt/android-sdk/cmake/3.10.2.4988404/bin/ctest -E Foundation --output-on-failure FIXME Android emulator hangs
|
||||||
|
|
||||||
|
- name: Linux (clang, make)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
compiler: clang
|
||||||
|
script:
|
||||||
|
- ./configure --everything --omit=PDF --config=Linux-clang && make all -s -j2 && sudo make install
|
||||||
|
- sudo -s ./travis/runtests.sh
|
||||||
|
|
||||||
|
- name: Linux (gcc, make)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
compiler: gcc
|
||||||
|
script:
|
||||||
|
- ./configure --everything --omit=PDF && make all -s -j2 && sudo make install
|
||||||
|
- sudo -s ./travis/runtests.sh
|
||||||
|
|
||||||
|
- name: Linux (gcc, make, arm64)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: arm64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
compiler: gcc
|
||||||
|
script:
|
||||||
|
# skip some libs due to build timeout
|
||||||
|
- ./configure --everything --omit=PDF,Data/MySQL,Data/ODBC,Data/PostgreSQL,MongoDB,Redis && make all -s -j2 && sudo make install
|
||||||
|
- sudo -s ./travis/runtests.sh
|
||||||
|
|
||||||
|
- name: Linux (gcc, make, ppc64le)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: ppc64le
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
compiler: gcc
|
||||||
|
script:
|
||||||
|
- ./configure --everything --omit=PDF,Data/ODBC,Data/PostgreSQL,Redis && make all -s -j2 && sudo make install
|
||||||
|
- sudo -s ./travis/runtests.sh
|
||||||
|
|
||||||
|
- name: Linux (gcc, make, s390x)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: s390x
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
compiler: gcc
|
||||||
|
script:
|
||||||
|
- ./configure --everything --omit=PDF,Redis && make all -s -j2 && sudo make install
|
||||||
|
- sudo -s ./travis/runtests.sh
|
||||||
|
|
||||||
|
- name: macOS (clang, make)
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode11.3
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- openssl
|
||||||
|
script:
|
||||||
|
- ./configure --everything --no-prefix --omit=PDF,Data/MySQL,Data/ODBC,Data/PostgreSQL,Redis && make all -s -j2 && sudo make install
|
||||||
|
# ignore test results for now as timing-sensitive tests fail randomly
|
||||||
|
- sudo -s ./travis/runtests.sh || true
|
||||||
|
|
||||||
|
- name: Linux (gcc, cmake)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
compiler: gcc
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
- ninja-build
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
script:
|
||||||
|
- cmake -H. -Bcmake-build -GNinja -DENABLE_PDF=OFF -DENABLE_TESTS=ON && cmake --build cmake-build --target all && cd cmake-build && sudo -s PWD=`pwd` ctest --output-on-failure -E "(DataMySQL)|(DataODBC)"
|
||||||
|
|
||||||
|
- name: Linux (clang, cmake)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
compiler: clang
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
- ninja-build
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
script:
|
||||||
|
- cmake -H. -Bcmake-build -GNinja -DENABLE_PDF=OFF -DENABLE_TESTS=ON && cmake --build cmake-build --target all && cd cmake-build && sudo -s PWD=`pwd` ctest --output-on-failure -E "(DataMySQL)|(DataODBC)"
|
||||||
|
|
||||||
|
- name: Linux cross (arm-linux-gnueabi-g++, cmake)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
- ninja-build
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
- g++-arm-linux-gnueabi
|
||||||
|
script:
|
||||||
|
- export CC="arm-linux-gnueabi-gcc"
|
||||||
|
- export CXX="arm-linux-gnueabi-g++"
|
||||||
|
- cmake -H. -Bcmake-build -GNinja -DENABLE_PDF=OFF -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_JWT=OFF -DENABLE_TESTS=ON && cmake --build cmake-build --target all
|
||||||
|
|
||||||
|
- name: Linux cross (arm-linux-gnueabihf-g++, cmake)
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
- ninja-build
|
||||||
|
- libssl-dev
|
||||||
|
- unixodbc-dev
|
||||||
|
- libmysqlclient-dev
|
||||||
|
- g++-arm-linux-gnueabihf
|
||||||
|
script:
|
||||||
|
- export CC="arm-linux-gnueabihf-gcc"
|
||||||
|
- export CXX="arm-linux-gnueabihf-g++"
|
||||||
|
- cmake -H. -Bcmake-build -GNinja -DENABLE_PDF=OFF -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_JWT=OFF -DENABLE_TESTS=ON && cmake --build cmake-build --target all
|
||||||
|
|
||||||
|
# build documentation and release
|
||||||
|
- name: Documentation & Release
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
compiler: clang
|
||||||
|
script:
|
||||||
|
- . env.sh && mkdoc all && mkrel all
|
||||||
|
- ls -l releases
|
||||||
|
|
||||||
|
# QA jobs for code analytics and metrics
|
||||||
|
# static code analysis with cppcheck (we can add --enable=all later)
|
||||||
|
- name: CppCheck
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cppcheck
|
||||||
|
script: cppcheck --force --quiet --inline-suppr -j2 -iData/SQLite/src/sqlite3.c .
|
||||||
|
|
||||||
|
# search for TODO within source tree
|
||||||
|
- name: TODO
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
script: grep -r TODO *
|
||||||
|
|
||||||
|
# search for FIXME within source tree
|
||||||
|
- name: FIXME
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
script: grep -r FIXME *
|
||||||
|
|
||||||
|
# search for HACK within source tree
|
||||||
|
- name: HACK
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
script: grep -r HACK *
|
||||||
|
|
||||||
|
# some statistics about the code base
|
||||||
|
- name: Sloccount
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- sloccount
|
||||||
|
script: sloccount .
|
0
vendor/POCO/packaging/Linux/Fedora/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Linux/Fedora/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Linux/Ubuntu/debian/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Linux/Ubuntu/debian/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Other/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Other/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Other/VMS/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Other/VMS/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Unix/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Unix/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Unix/HP/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Unix/HP/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Unix/Sun/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Unix/Sun/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Windows/WiX/VS2013/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Windows/WiX/VS2013/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Windows/WiX/VS2015/.gitignore
vendored
Normal file
0
vendor/POCO/packaging/Windows/WiX/VS2015/.gitignore
vendored
Normal file
Loading…
Reference in New Issue
Block a user