-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable continuous integration through Travis-CI (#210)
- Loading branch information
Showing
23 changed files
with
274 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
*.suo | ||
*.user | ||
*.o | ||
*.res | ||
*.swp | ||
*.log | ||
*.pdb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Control file for continuous integration testing at http://travis-ci.org/ | ||
|
||
# ignore release tags | ||
branches: | ||
except: | ||
/^\d+\.\d+(\.\d+)?(-\S*)?$/ | ||
|
||
language: c++ | ||
|
||
|
||
jobs: | ||
include: | ||
- name: "RALibretro Win32" | ||
os: windows | ||
script: etc/msbuild.bat Release x86 | ||
|
||
- name: "RALibretro Win64" | ||
os: windows | ||
script: etc/msbuild.bat Release x64 | ||
|
||
- name: "RALibretro Win32 cross-compile (Linux)" | ||
os: linux | ||
compiler: i686-w64-mingw32-gcc | ||
script: make ARCH=x86 | ||
|
||
- name: "RALibretro Win64 cross-compile (Linux)" | ||
os: linux | ||
compiler: x86_64-w64-mingw32 | ||
script: make ARCH=x64 | ||
|
||
- name: "RAHasher x86 Linux" | ||
os: linux | ||
addons: | ||
apt: | ||
packages: | ||
g++-multilib # fatal error: bits/c++config.h: No such file or directory | ||
script: make ARCH=x86 -f Makefile.RAHasher | ||
|
||
- name: "RAHasher x64 Linux" | ||
os: linux | ||
script: make ARCH=x64 -f Makefile.RAHasher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# default parameter values | ||
ifeq ($(ARCH),) | ||
UNAME := $(shell uname -s) | ||
ifeq ($(findstring MINGW64, $(UNAME)), MINGW64) | ||
ARCH=x64 | ||
else ifeq ($(findstring MINGW32, $(UNAME)), MINGW32) | ||
ARCH=x86 | ||
else | ||
UNAME := $(shell uname -m) | ||
ifeq ($(UNAME), x86_64) | ||
ARCH=x64 | ||
else | ||
ARCH=x86 | ||
endif | ||
endif | ||
endif | ||
|
||
INCLUDES=-Isrc -I./src/miniz -I./src/rcheevos/include | ||
CFLAGS=-Wall $(INCLUDES) | ||
CXXFLAGS=$(CFLAGS) -std=c++11 | ||
LDFLAGS=-static-libgcc -static-libstdc++ | ||
|
||
ifeq ($(ARCH), x86) | ||
CFLAGS += -m32 | ||
CXXFLAGS += -m32 | ||
LDFLAGS += -m32 | ||
OUTDIR=bin | ||
else ifeq ($(ARCH), x64) | ||
CFLAGS += -m64 | ||
CXXFLAGS += -m64 | ||
LDFLAGS += -m64 | ||
OUTDIR=bin64 | ||
else | ||
$(error unknown ARCH "$(ARCH)") | ||
endif | ||
|
||
ifneq ($(DEBUG),) | ||
CFLAGS += -O0 -g | ||
CXXFLAGS += -O0 -g | ||
else | ||
CFLAGS += -O3 -DNDEBUG | ||
CXXFLAGS += -O3 -DNDEBUG | ||
endif |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.