From fc5668cdaceb4cdfdbe19a94f56d494fc3064eeb Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Mon, 16 Jan 2017 01:09:50 -0800 Subject: [PATCH] makefile for tests --- .travis.yml | 6 ++++++ tests/Makefile | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 .travis.yml create mode 100644 tests/Makefile diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1e4303d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: C +install: true +script: + - cd tests + - make 32 + - make 64 diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 0000000..45db169 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,7 @@ +32: + $CC -m32 stb_vorbis.c test_c_compilation.c + $CC -m32 stb_vorbis.c test_cpp_compilation.cpp + +64: + $CC -m64 stb_vorbis.c test_c_compilation.c + $CC -m64 stb_vorbis.c test_cpp_compilation.cpp