mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
basic travis and appveyor CI configs
This commit is contained in:
18
.appveyor.yml
Normal file
18
.appveyor.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "{build}"
|
||||
shallow_clone: true
|
||||
image:
|
||||
- Visual Studio 2015
|
||||
- Visual Studio 2017
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
platform:
|
||||
- Win32
|
||||
- x64
|
||||
build_script:
|
||||
- cmake --version
|
||||
- mkdir build && cd build
|
||||
- cmake .. -A%PLATFORM%
|
||||
- cmake --build . --config %CONFIGURATION%
|
||||
- ctest
|
||||
test: off
|
||||
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
dist: trusty
|
||||
language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
env:
|
||||
- BUILD_TYPE=Debug
|
||||
- BUILD_TYPE=Release
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-trusty-5.0
|
||||
packages:
|
||||
- g++-7
|
||||
- clang-5.0
|
||||
install:
|
||||
- "[ $CXX = g++ ] && export CC=gcc-7 || true"
|
||||
- "[ $CXX = g++ ] && export CXX=g++-7 || true"
|
||||
- "[ $CXX = clang++ ] && export CC=clang-5.0 || true"
|
||||
- "[ $CXX = clang++ ] && export CXX=clang++-5.0 || true"
|
||||
script:
|
||||
- mkdir -p build/$BUILD_TYPE
|
||||
- cd build/$BUILD_TYPE
|
||||
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ../..
|
||||
- cmake --build . -- -j2
|
||||
- ctest
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.9.2 FATAL_ERROR)
|
||||
project(enduro2d)
|
||||
|
||||
#
|
||||
|
||||
@@ -2,11 +2,17 @@
|
||||
|
||||
> Yet another 2d game engine of dreams
|
||||
|
||||
[![travis][badge.travis]][travis]
|
||||
[![appveyor][badge.appveyor]][appveyor]
|
||||
[![language][badge.language]][language]
|
||||
[![license][badge.license]][license]
|
||||
|
||||
[badge.travis]: https://api.travis-ci.org/enduro2d/enduro2d.svg?branch=master
|
||||
[badge.appveyor]: https://ci.appveyor.com/api/projects/status/github/enduro2d/enduro2d?svg=true&passingText=master%20-%20OK
|
||||
[badge.language]: https://img.shields.io/badge/language-C%2B%2B14-red.svg
|
||||
[badge.license]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||
|
||||
[travis]: https://travis-ci.org/enduro2d/enduro2d
|
||||
[appveyor]: https://ci.appveyor.com/project/BlackMATov/enduro2d
|
||||
[language]: https://en.wikipedia.org/wiki/C%2B%2B14
|
||||
[license]: https://en.wikipedia.org/wiki/MIT_License
|
||||
|
||||
Reference in New Issue
Block a user