From 2694cdb7890e11dfe40a627132e9f382f65063a4 Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Fri, 25 Jan 2019 23:46:38 +0800 Subject: [PATCH 1/7] 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 From 4c84748bace4a7dac3910b6b01633408f1bdeb29 Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Fri, 25 Jan 2019 23:59:35 +0800 Subject: [PATCH 2/7] Update --- azure-pipelines.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 39541fd7d..1d200d1bc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,7 +5,10 @@ jobs: steps: - script: | sudo apt-get update - sudo apt-get upgrade -y + sudo apt-get install cmake build-essential -y + sudo apt-get install libmysqlclient15-dev -y + sudo apt-get install bison autoconf automake -y + sudo apt-get install libpng12-dev libjpeg62-dev -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 From 7661d49bf0722502bf903c91cd4032c36b9b3ebd Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Sat, 26 Jan 2019 00:03:07 +0800 Subject: [PATCH 3/7] Update --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1d200d1bc..e100d14d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,6 +13,7 @@ jobs: 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 + sudo apt-get install libcurl4-openssl-dev -y displayName: 'Dependencies' - script: | mkdir build From 397f5b15072fa34445fc120a1a9ab82762af713a Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Sat, 26 Jan 2019 00:07:21 +0800 Subject: [PATCH 4/7] Update --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e100d14d4..a4695291e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ jobs: - script: | sudo apt-get update sudo apt-get install cmake build-essential -y - sudo apt-get install libmysqlclient15-dev -y + sudo apt-get install libmysqlclient-dev -y sudo apt-get install bison autoconf automake -y sudo apt-get install libpng12-dev libjpeg62-dev -y sudo apt-get install liblua5.1-dev libluabind-dev libcpptest-dev -y @@ -14,6 +14,7 @@ jobs: sudo apt-get install libgif-dev libfreetype6-dev -y sudo apt-get install libxml2-dev -y sudo apt-get install libcurl4-openssl-dev -y + sudo apt-get install libsquish-dev -y displayName: 'Dependencies' - script: | mkdir build From bd274c5ad04081f663d233e56ca8f3041748afdd Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Sat, 26 Jan 2019 00:11:23 +0800 Subject: [PATCH 5/7] Update --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4695291e..89562087c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,13 +14,12 @@ jobs: sudo apt-get install libgif-dev libfreetype6-dev -y sudo apt-get install libxml2-dev -y sudo apt-get install libcurl4-openssl-dev -y - sudo apt-get install libsquish-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 + cmake -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TOOLS=OFF ../code cat build/CMakeCache.txt displayName: 'CMake' - script: | From 61b1509048589ed1cdc696cd769376165904bbc0 Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Sat, 26 Jan 2019 00:14:36 +0800 Subject: [PATCH 6/7] Update --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 89562087c..2ede2a7e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,7 +20,7 @@ jobs: cmake --version cd build cmake -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TOOLS=OFF ../code - cat build/CMakeCache.txt + cat CMakeCache.txt displayName: 'CMake' - script: | make -j`nproc` From f4ff5e0d2567f3780f5b7c5e173c433bee90f7e0 Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Sat, 26 Jan 2019 00:17:22 +0800 Subject: [PATCH 7/7] Update --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2ede2a7e8..6ad47eba4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,5 +23,6 @@ jobs: cat CMakeCache.txt displayName: 'CMake' - script: | + cd build make -j`nproc` displayName: 'Make' \ No newline at end of file