浏览代码

makefile for tests

Sean Barrett 8 年之前
父节点
当前提交
fc5668cdac
共有 2 个文件被更改,包括 13 次插入0 次删除
  1. 6 0
      .travis.yml
  2. 7 0
      tests/Makefile

+ 6 - 0
.travis.yml

@@ -0,0 +1,6 @@
+language: C
+install: true
+script:
+  - cd tests
+  - make 32
+  - make 64

+ 7 - 0
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