2020-10-31 09:19:51 +00:00
|
|
|
# Copyright (c) 2020 Vsevolod Kremianskii
|
2020-08-03 01:33:52 +00:00
|
|
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2020-09-24 14:41:11 +00:00
|
|
|
language: cpp
|
2020-08-03 01:33:52 +00:00
|
|
|
os: linux
|
|
|
|
dist: bionic
|
|
|
|
compiler: clang
|
|
|
|
|
2020-09-24 14:41:11 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: "V88YFnmjHEY0oyXkO5OQE42tSJEGtLrr/tVwJITzxqn3q8WxOz5ANEJJQ9YRwyf4UzWb89txOjFofJ4FsCVNQ04SXOIkYiIxDttBVIW834Pdgt+cbaJY2QK5xk+iyNqn1q5yuI8juVmWboVpNURQcytnWJkvsdM4Z4UdVC0KcBGEeFz/eKGr7IXAGN3awUk1Dm7nrHQdsfWPd0V+EI+UEJU6vTbvFLUVZqeUYMAtb8EBEIf5g4mGpJ3/8dK7EJ4pU+f/pPjehkqSZe9avmHOdztuYYEX5e6VGt+AErjQyxYYUzVaMYezZJ6GrPYkoLY8sEFo9ln3bvZnv+/haZ7SGzc5CMqn+kbwE8FOzQm3sPXIRXmEMjR1lGDyvnc0jnaOpBbAF3CkK9vb7QIbVbdmDFyMHpvi3TPtAtKcAQ0BI2C0zJdFtS7AzVbgyw1kyRVcxQFMca4AjRaRDxAjZR2lkLOFNcwmlwY496uLp+5XyHb5wvJE91y6HdkYBpFLzAGPbw7dCQl8WFqn3qJyyOaQ8TtC8qSkZt++lFXuAx6NCLYzDM2EhCYj2SepQgVYEj7sMXk4s2DHG6zQtGAIMw3ANUIY4Reexs13HKhP7882OwOfvcOozSwulkDVmMHqWNHGB/77lruo5XNhVfUTGvGYLdq/mwgUlC2rbPc1a9TrqWE="
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
|
|
|
|
2020-08-03 01:33:52 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
packages:
|
|
|
|
- libboost1.68-dev
|
|
|
|
- libsdl2-dev
|
|
|
|
- libglew-dev
|
|
|
|
- libopenal-dev
|
|
|
|
- libmad0-dev
|
2020-11-08 15:04:54 +00:00
|
|
|
- libavcodec-dev
|
|
|
|
- libavformat-dev
|
|
|
|
- libavutil-dev
|
|
|
|
- libswscale-dev
|
2020-09-24 14:41:11 +00:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "seedhartha/reone"
|
|
|
|
description: "Game engine, capable of running KotOR and TSL"
|
|
|
|
notification_email: vkremianskii@gmail.com
|
2020-09-25 10:23:48 +00:00
|
|
|
build_command_prepend: "mkdir build; cd build; cmake .. -DUSE_EXTERNAL_GLM=ON -DCMAKE_BUILD_TYPE=Release"
|
2020-09-24 14:41:11 +00:00
|
|
|
build_command: "make"
|
|
|
|
branch_pattern: coverity_scan
|
2020-08-03 01:33:52 +00:00
|
|
|
|
|
|
|
script:
|
2020-09-25 10:23:48 +00:00
|
|
|
- |
|
|
|
|
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
|
|
|
|
mkdir build;
|
|
|
|
cd build;
|
2020-10-10 08:25:36 +00:00
|
|
|
cmake .. -DUSE_EXTERNAL_GLM=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON;
|
2020-09-25 10:23:48 +00:00
|
|
|
make;
|
2020-10-10 08:25:36 +00:00
|
|
|
ctest -C Release;
|
2020-09-25 10:23:48 +00:00
|
|
|
fi
|