Przeglądaj źródła

makefile for tests

Sean Barrett 8 lat temu
rodzic
commit
fc5668cdac
2 zmienionych plików z 13 dodań i 0 usunięć
  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