bfe467dab0
This is to improve code portability.
55 lines
2.3 KiB
YAML
55 lines
2.3 KiB
YAML
# Copyright (c) 2020 Vsevolod Kremianskii
|
|
|
|
# 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/>.
|
|
|
|
language: cpp
|
|
os: linux
|
|
dist: bionic
|
|
compiler: clang
|
|
|
|
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-
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
packages:
|
|
- libboost1.68-dev
|
|
- libsdl2-dev
|
|
- libglew-dev
|
|
- libopenal-dev
|
|
- libmad0-dev
|
|
coverity_scan:
|
|
project:
|
|
name: "seedhartha/reone"
|
|
description: "Game engine, capable of running KotOR and TSL"
|
|
notification_email: vkremianskii@gmail.com
|
|
build_command_prepend: "mkdir build; cd build; cmake .. -DUSE_EXTERNAL_GLM=ON -DCMAKE_BUILD_TYPE=Release"
|
|
build_command: "make"
|
|
branch_pattern: coverity_scan
|
|
|
|
script:
|
|
- |
|
|
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
|
|
mkdir build;
|
|
cd build;
|
|
cmake .. -DUSE_EXTERNAL_GLM=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON;
|
|
make;
|
|
ctest -C Release;
|
|
fi
|