diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..9706cb73d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: cpp + +before_install: + - sudo apt-get update + - sudo apt-get install ocaml zlib1g-dev libgc-dev gcc-multilib g++-multilib -y + - git clone https://github.com/HaxeFoundation/neko.git ~/neko && cd ~/neko && make && sudo make install && cd $TRAVIS_BUILD_DIR + - git clone --recursive https://github.com/HaxeFoundation/haxe.git ~/haxe && cd ~/haxe && make && make tools && sudo make install && cd $TRAVIS_BUILD_DIR + - mkdir ~/haxelib && haxelib setup ~/haxelib + - haxelib dev hxcpp $TRAVIS_BUILD_DIR + +script: + - cd build-tool + - haxe Compile.hxml + - cd ../runtime + - haxelib run hxcpp BuildLibs.xml + - haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 + - cd ../test/ndlls + - haxe compile.hxml && ./cpp/Test + - haxe compile64.hxml && ./cpp64/Test + - cd ~/haxe/tests/unit + - haxe compile-cpp.hxml && ./cpp/Test-debug && rm -rf cpp + - haxe compile-cpp.hxml -D HXCPP_M64 && ./cpp/Test-debug \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 000000000..fd7af548a --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# hxcpp + +[![Build Status](https://travis-ci.org/HaxeFoundation/hxcpp.png?branch=master)](https://travis-ci.org/HaxeFoundation/hxcpp) + +hxcpp is the runtime support for the c++ backend of the [haxe](http://haxe.org/) compiler. This constains the headers, libraries and support code required to generate a fully compiled executable from haxe code. \ No newline at end of file