5 vmImage: 'ubuntu-18.04'
9 sudo apt install -y software-properties-common
10 # sudo add-apt-repository ppa:ubuntu-toolchain-r/test
12 sudo apt install cmake build-essential -y
13 sudo apt install gcc-8 g++-8 -y
14 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
15 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
16 sudo apt install bison autoconf automake -y
17 sudo apt install libpng-dev -y
18 sudo apt install libjpeg-dev -y
19 sudo apt install libgif-dev libfreetype6-dev -y
20 sudo apt install freeglut3-dev -y
21 sudo apt install liblua5.2-dev libluabind-dev libcpptest-dev -y
22 sudo apt install libogg-dev libvorbis-dev libopenal-dev -y
23 sudo apt install libavcodec-dev libavformat-dev libavdevice-dev libswscale-dev libpostproc-dev -y
24 sudo apt install libmysqlclient-dev -y
25 sudo apt install libxml2-dev -y
26 sudo apt install libcurl4-openssl-dev libssl-dev -y
27 sudo apt install libsquish-dev -y
28 sudo apt install liblzma-dev -y
29 sudo apt install libgsf-1-dev -y
30 sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools
31 displayName: 'Dependencies'
36 cmake -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=OFF -DWITH_LUA52=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=ON -DWITH_RYZOM_TOOLS=ON -DWITH_NEL_TOOLS=ON -DWITH_NELNS=ON -DWITH_NELNS_LOGIN_SYSTEM=ON -DWITH_NELNS_SERVER=ON -DWITH_QT5=ON -DWITH_LIBGSF=ON ..
46 vmImage: 'ubuntu-20.04'
50 sudo apt install -y software-properties-common
52 sudo apt install cmake build-essential -y
53 sudo apt install bison autoconf automake -y
54 sudo apt install libpng-dev -y
55 sudo apt install libjpeg-dev -y
56 sudo apt install libgif-dev libfreetype6-dev -y
57 sudo apt install freeglut3-dev -y
58 sudo apt install liblua5.2-dev libluabind-dev libcpptest-dev -y
59 sudo apt install libogg-dev libvorbis-dev libopenal-dev -y
60 sudo apt install libavcodec-dev libavformat-dev libavdevice-dev libswscale-dev libpostproc-dev -y
61 sudo apt install libmysqlclient-dev -y
62 sudo apt install libxml2-dev -y
63 sudo apt install libcurl4-openssl-dev libssl-dev -y
64 sudo apt install libsquish-dev -y
65 sudo apt install liblzma-dev -y
66 sudo apt install libgsf-1-dev -y
67 sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools
68 displayName: 'Dependencies'
73 cmake -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=OFF -DWITH_LUA52=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=ON -DWITH_RYZOM_TOOLS=ON -DWITH_NEL_TOOLS=ON -DWITH_NELNS=ON -DWITH_NELNS_LOGIN_SYSTEM=ON -DWITH_NELNS_SERVER=ON -DWITH_QT5=ON -DWITH_LIBGSF=ON ..