# This file is part of LilyPond, the GNU music typesetter.
#
# Copyright (C) 2021--2023 Jonas Hahnfeld <hahnjo@hahnjo.de>
#
# LilyPond is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# LilyPond is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.

- name: Ubuntu 20.04
  hosts: lily_ubuntu20_04
  tasks:
    - name: Upgrade all packages
      apt:
        update_cache: yes
        name: '*'
        state: latest
    - name: Install packages
      apt:
        name:
          - binutils-mingw-w64-x86-64
          - bison
          - flex
          - fontforge
          - gcc
          - gcc-mingw-w64-x86-64
          - g++
          - g++-mingw-w64-x86-64
          - gettext
          - gperf
          - icoutils
          - imagemagick
          - m4
          - make
          - ninja-build
          - pkgconf
          - python3-pip
          - t1utils
          - texlive-base
          - texlive-metapost
    - name: Install Python packages
      pip:
        executable: pip3
        name:
          - meson==0.59.0
