You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
652 B
20 lines
652 B
# Template for setting up the Ubuntu build environment and building Xournal++ on |
|
# Ubuntu |
|
|
|
parameters: |
|
build_type: 'Debug' |
|
cmake_flags: '' |
|
|
|
steps: |
|
- bash: | |
|
sudo apt-get update |
|
sudo apt-get install -y cmake ninja-build libcppunit-dev libgtk-3-dev libpoppler-glib-dev portaudio19-dev libsndfile-dev liblua5.3-dev libzip-dev |
|
displayName: 'Install dependencies' |
|
- bash: | |
|
mkdir build |
|
displayName: 'Create build directory' |
|
- bash: | |
|
cmake -GNinja .. -DCMAKE_BUILD_TYPE=${{ parameters.build_type}} ${{ parameters.cmake_flags }} |
|
cmake --build . |
|
workingDirectory: ./build |
|
displayName: 'Build Xournal++'
|
|
|