Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (32 sloc) 916 Bytes
sudo: required
dist: trusty
language: c
compiler:
- clang
- gcc
install:
- wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha10/premake-5.0.0-alpha10-linux.tar.gz -O /tmp/premake5.tar.gz
- tar -zxvf /tmp/premake5.tar.gz
- wget https://github.com/jedisct1/libsodium/releases/download/1.0.10/libsodium-1.0.10.tar.gz -O /tmp/libsodium.tar.gz
- pushd .
- cd /tmp
- tar -zxvf /tmp/libsodium.tar.gz
- cd libsodium-1.0.10
- ./configure
- make
- sudo make install
- popd
- wget https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.1.5.tar.gz -O /tmp/mbedtls.tar.gz
- pushd .
- cd /tmp
- tar -zxvf mbedtls.tar.gz
- cd mbedtls-mbedtls-2.1.5
- cmake .
- make
- sudo make install
- popd
- sudo ldconfig
script:
- ./premake5 gmake
- make clean && make all config=debug_x64 && ./bin/test
- make clean && make all config=release_x64 && ./bin/test