Commit graph

4 commits

Author SHA1 Message Date
Stephen
bc08bfda67 Unit testing in CI (#651)
- in appveyor, install clang and cmake in cygwin, enable package upgrades, and build cmocka and enable testing for gcc only
- in `gitignore`, ignore generated cmocka folder
- in travis, use brew in osx to install cmocka, and enable testing for gcc and clang on os x and linux
- in `Makefile`, change to use `uname -s` to determine os type
- make `install-cmocka-linux.sh`, a simple shell script to download and install cmocka on linux
- in `bindings/Makefile`, enable `make -c` to call subdirectory makefiles instead of `cd [dir] && make` and include environment variables for runtime access to generated libraries
- in `samples/Makefile`, change to use `uname -s` to determine os type, remove `clean_bins` from `all` command, and include `Werror` for compile strictness
- in `tests/unit/Makefile`, add `cflags` for compile time access to cmocka headers and library, include execute vars for runtime access to cmocka and unicorn libs
- in `tests/unit/test_tb_x86.c`, comment out assert that would not compile
2016-10-22 00:21:10 +08:00
Nguyen Anh Quynh
7af728bb0c appveyor: build for both 32bit & 64bit 2016-07-14 11:20:15 +08:00
Nguyen Anh Quynh
020d8b9608 appveyor: use Cygwin to build 2016-07-14 10:59:00 +08:00
Nguyen Anh Quynh
0524f34b82 rename appveyor.yml to .appveyor.yml 2016-03-14 23:50:58 +08:00
Renamed from appveyor.yml (Browse further)