mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-06-08 02:43:48 +00:00
Added CI files.
This commit is contained in:
20
.appveyor.yml
Normal file
20
.appveyor.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
shallow_clone: true
|
||||||
|
|
||||||
|
os:
|
||||||
|
- Visual Studio 2015
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- TOOLSET: vs2013
|
||||||
|
- TOOLSET: vs2015
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- Debug
|
||||||
|
- Release
|
||||||
|
|
||||||
|
install:
|
||||||
|
- git clone https://github.com/bkaradzic/bx ..\bx
|
||||||
|
- ..\bx\tools\bin\windows\genie --with-tools %TOOLSET%
|
||||||
|
|
||||||
|
build:
|
||||||
|
project: .build/projects/$(TOOLSET)/bimg.sln
|
||||||
19
.editorconfig
Normal file
19
.editorconfig
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
end_of_line = lf
|
||||||
|
max_line_length = 100
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[include/bgfx/c99/*.h]
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.ninja]
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
max_line_length = 80
|
||||||
11
.gitattributes
vendored
Normal file
11
.gitattributes
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
*.c eol=lf
|
||||||
|
*.cpp eol=lf
|
||||||
|
*.h eol=lf
|
||||||
|
*.sc eol=lf
|
||||||
|
*.sh eol=lf
|
||||||
|
*.m eol=lf
|
||||||
|
*.mm eol=lf
|
||||||
|
*.md eol=lf
|
||||||
|
*.lua eol=lf
|
||||||
|
*.mk eol=lf
|
||||||
|
makefile eol=lf
|
||||||
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
.build
|
||||||
|
.debug
|
||||||
|
.DS_Store
|
||||||
|
.git
|
||||||
|
.svn
|
||||||
|
tags
|
||||||
|
.gdb_history
|
||||||
32
.travis.yml
Normal file
32
.travis.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
language: cpp
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- compiler: gcc
|
||||||
|
os: linux
|
||||||
|
- compiler: clang
|
||||||
|
os: osx
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- gcc-4.8
|
||||||
|
- g++-4.8
|
||||||
|
- clang
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
git clone https://github.com/bkaradzic/bx ../bx
|
||||||
|
|
||||||
|
script:
|
||||||
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then make build CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||||
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then make build; fi
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
|
||||||
|
osx_image: xcode7.3
|
||||||
Reference in New Issue
Block a user