From 2694cdb7890e11dfe40a627132e9f382f65063a4 Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Fri, 25 Jan 2019 23:46:38 +0800 Subject: [PATCH] Set up CI --- azure-pipelines.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..39541fd7d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,23 @@ +jobs: + - job: ubuntu16 + pool: + vmImage: 'Ubuntu-16.04' + steps: + - script: | + sudo apt-get update + sudo apt-get upgrade -y + sudo apt-get install liblua5.1-dev libluabind-dev libcpptest-dev -y + sudo apt-get install libogg-dev libvorbis-dev libopenal-dev -y + sudo apt-get install libgif-dev libfreetype6-dev -y + sudo apt-get install libxml2-dev -y + displayName: 'Dependencies' + - script: | + mkdir build + cmake --version + cd build + cmake -DWITH_NEL_TESTS=ON -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_TOOLS=ON -DWITH_NEL_TOOLS=ON ../code + cat build/CMakeCache.txt + displayName: 'CMake' + - script: | + make -j`nproc` + displayName: 'Make' \ No newline at end of file