Added: Parsing css border shorthand
[ryzomcore.git] / azure-pipelines.yml
blob0e839606177b0a3d599bf78e2ce0c472c626cae0
1 jobs:
2   - job: ubuntu16
3     timeoutInMinutes: 120
4     pool:
5       vmImage: 'Ubuntu-16.04'
6     steps:
7     - script: |
8         sudo apt-get update
9         sudo apt-get install -y software-properties-common
10         sudo add-apt-repository ppa:ubuntu-toolchain-r/test
11         sudo apt-get update
12         sudo apt-get install cmake build-essential -y
13         sudo apt-get 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-get install bison autoconf automake -y
17         sudo apt-get install libpng12-dev -y
18         sudo apt-get install libjpeg-dev -y
19         sudo apt-get install libgif-dev libfreetype6-dev -y
20         sudo apt-get install freeglut3-dev -y
21         sudo apt-get install liblua5.1-dev libluabind-dev libcpptest-dev -y
22         sudo apt-get install libogg-dev libvorbis-dev libopenal-dev -y
23         sudo apt-get install libavcodec-dev libavformat-dev libavdevice-dev libswscale-dev libpostproc-dev -y
24         sudo apt-get install libmysqlclient-dev -y
25         sudo apt-get install libxml2-dev -y
26         sudo apt-get install libcurl4-openssl-dev libssl-dev -y
27         sudo apt-get install libsquish-dev -y
28         sudo apt-get install liblzma-dev -y
29         sudo apt-get install libgsf-1-dev -y
30         sudo apt-get install qtbase5-dev qttools5-dev qttools5-dev-tools
31       displayName: 'Dependencies'
32     - script: |
33         mkdir build
34         cmake --version
35         cd build
36         cmake -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=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 ../code
37         cat CMakeCache.txt
38       displayName: 'CMake'
39     - script: |
40         cd build
41         make -j`nproc`
42       displayName: 'Make'