Commit graph

17 commits

Author SHA1 Message Date
Stephen dab5060005 use new travis osx image and brew (#935)
saves time not to run update
2018-01-05 10:29:49 +08:00
Stephen 961c916a1c brew bundle changed, travis version needs update (#906) 2017-10-10 08:52:24 +08:00
Stephen f0677fc13b only build brew HEAD on master and rm trusty jobs (#904)
brew HEAD pulls from master, so it only makes sense to build on master

trusty is now the travis default, explicit jobs are no longer required
2017-10-07 23:56:02 +08:00
Stephen 7f8c3ef2f6 Move to new OSX dependency management system (#900)
* Move to new OSX dependency management system

* Update Brewfile
2017-09-30 18:30:56 +08:00
Stephen da21bd0589 Start moving examples in S files (#851)
* Move assembly to S files

* more assembly files

* osx compilation change

* makefile mistake

* add objcopy from crosstool

* use gobjcopy on osx

* start cmocka install cleanup

* move wget to directory option

* move back to cd

* fix copy

* First cut

* free allocated memory

* bad idea

too much switching between python and c

* add debug

* cleanup bad size
2017-06-25 10:14:22 +08:00
Stephen ee89c4a421 add brew tests (#779) 2017-03-12 21:31:49 +08:00
Stephen b19daa77e8 Homebrew (#778)
* add homebrew build

* update command and fix compiler

* allow failures on brew HEAD builds

mainly there to monitor
2017-03-12 11:11:06 +08:00
Stephen 403237206e add trusty builds (#777)
* add trusty builds

* Update .travis.yml

* remove bad apt addon attempt
2017-03-12 10:04:27 +08:00
Stephen 000302d257 cleanup travis by removing universal builds (#702)
only used for universal glib
2016-12-30 00:09:08 +08:00
Nguyen Anh Quynh d91206eed6 CI: remove glib from Travis & Appveyor setup 2016-12-20 13:18:39 +08:00
Stephen 75d90aff52 Make cleanup (#666)
* make cleanup

* Update .travis.yml
Update eflags_nosync.c
Update sigill2.c
Update ro_mem_test.c
Update ro_mem_test.c
Update nr_mem_test.c
Update mem_fuzz.c
Update mem_double_unmap.c
Update emu_stop_in_hook_overrun.c
Update eflags_nosync.c
remove unused
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update mem_64_c.c
Update mem_64_c.c
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update .travis.yml
try android ndk build
Update unicorn.py
Update unicorn.py
Update Makefile
Update unicorn.py
Update unicorn.py
remove an untrue comment

if a dll/so/dylib gets loaded at runtime is dependent on many different factors, primarily the LD/DYLD paths. Those do not always include the current working directory
Update Makefile
Update .appveyor.yml
Update .travis.yml
Update Makefile
Update .appveyor.yml
Fix bad sample

* Update Makefile

* Update Makefile

* Update install-cmocka-linux.sh

* remove verbose option from tar

* add upgrade to pacman for cmake

* pacman double update, needed to get new packages

* enable cmocka unit testing

* rejigger commands to fail on any step

should get fails in msys builds for cmocka

* fix quote

* make cmocka in cygwin only

* add msys cache
2016-11-19 17:17:48 +08:00
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 1ddebc7304 travis: do not need to install pkg-config 2016-03-03 23:41:03 +08:00
Nguyen Anh Quynh 3ebb5d3a2e travis: fix brew install 2016-03-03 23:33:07 +08:00
Nguyen Anh Quynh cf08670a1c Travis: install dependencies for OSX 2016-03-03 23:25:29 +08:00
Nguyen Anh Quynh feb7b8e1ae travis: support OSX & Linux 2016-03-03 23:14:25 +08:00
Nguyen Anh Quynh 9eb1c57c34 add Travis support for automated tests 2016-03-01 13:49:27 +08:00