mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.3 KiB
27 lines
1.3 KiB
language: cpp |
|
|
|
addons: |
|
apt: |
|
sources: |
|
- ubuntu-toolchain-r-test |
|
packages: |
|
- gcc-4.8 |
|
- g++-4.8 |
|
|
|
install: |
|
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF |
|
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list |
|
- echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list |
|
- sudo apt-get update -qq |
|
- sudo apt-get install -y mono-devel nuget p7zip-full |
|
- nuget install NUnit -Version 2.6.4 -OutputDirectory deps |
|
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory deps |
|
- cp deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/ |
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi |
|
- wget -O llvm_linux_x86_64.7z https://www.dropbox.com/s/zxigif3vghsdfli/llvm_linux_x86_64.7z?dl=0 |
|
- 7z x llvm_linux_x86_64.7z -odeps/llvm -y |
|
|
|
script: |
|
- build/premake5-linux-64 --file=build/premake4.lua gmake |
|
- config=release_x64 make -C build/gmake/ |
|
- for test in build/gmake/lib/Release_x64/*.Tests.*.dll; do MONO_PATH=deps/NUnit.Runners.2.6.4/tools mono deps/NUnit.Runners.2.6.4/tools/nunit-console.exe $test; done
|
|
|