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.
21 lines
652 B
21 lines
652 B
# Template for setting up the Ubuntu build environment and building Xournal++ on |
|
# Ubuntu |
|
|
|
parameters: |
|
build_type: 'Debug' |
|
cmake_flags: '' |
|
cmake_commands: '' |
|
|
|
steps: |
|
- bash: | |
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test |
|
sudo apt-get update |
|
sudo apt install gcc g++ |
|
sudo apt install gcc-9 g++-9 |
|
sudo apt install libstdc++-9-dev |
|
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 |
|
g++ --version |
|
g++-9 --version |
|
export CXX=g++-9 |
|
export CC=gcc-9 |
|
displayName: 'Install dependencies'
|
|
|