You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ryzom-core/azure-pipelines.yml

28 lines
1.0 KiB
YAML

6 years ago
jobs:
- job: ubuntu16
pool:
vmImage: 'Ubuntu-16.04'
steps:
- script: |
sudo apt-get update
6 years ago
sudo apt-get install cmake build-essential -y
6 years ago
sudo apt-get install libmysqlclient-dev -y
6 years ago
sudo apt-get install bison autoconf automake -y
sudo apt-get install libpng12-dev libjpeg62-dev -y
6 years ago
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
6 years ago
sudo apt-get install libcurl4-openssl-dev -y
6 years ago
displayName: 'Dependencies'
- script: |
mkdir build
cmake --version
cd build
6 years ago
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
6 years ago
cat CMakeCache.txt
6 years ago
displayName: 'CMake'
- script: |
6 years ago
cd build
6 years ago
make -j`nproc`
displayName: 'Make'