Add basic travis CI for native and magicleap demos.

This commit is contained in:
Josh Matthews 2019-04-15 13:24:54 -04:00
parent 7cd8452ffc
commit bf55026a71
2 changed files with 21 additions and 0 deletions

12
.travis.yml Normal file
View File

@ -0,0 +1,12 @@
language: rust
addons:
apt:
packages:
- libegl1-mesa-dev
- libgtk-3-dev
- libsdl2-dev
script:
- cd demo/native
- cargo build
- cd ../magicleap
- cargo build

9
demo/magicleap/Makefile Normal file
View File

@ -0,0 +1,9 @@
.PHONY: debug release
debug:
cargo build --target aarch64-linux-android
$(MAGICLEAP_SDK)/mabu -t lumin_debug PathfinderDemo.package
release:
cargo build --release --target aarch64-linux-android
$(MAGICLEAP_SDK)/mabu -t lumin_release PathfinderDemo.package