xref: /php-src/.github/actions/apt-x64/action.yml (revision 91c06790)
1name: apt
2inputs:
3  asan:
4    default: false
5    required: false
6runs:
7  using: composite
8  steps:
9    - shell: bash
10      run: |
11        set -x
12
13        export DEBIAN_FRONTEND=noninteractive
14
15        # Install sudo in Docker for consistent actions
16        if ! type "sudo" > /dev/null; then
17          apt-get update -y | true
18          apt-get install -y sudo
19        fi
20
21        sudo apt-get update -y | true
22        sudo apt-get install -y \
23          autoconf \
24          gcc \
25          make \
26          curl \
27          unzip \
28          bison \
29          re2c \
30          locales \
31          ldap-utils \
32          openssl \
33          slapd \
34          language-pack-de \
35          libgmp-dev \
36          libicu-dev \
37          libtidy-dev \
38          libenchant-2-dev \
39          libbz2-dev \
40          libsasl2-dev \
41          libxpm-dev \
42          libzip-dev \
43          libsqlite3-dev \
44          libsqlite3-mod-spatialite \
45          libwebp-dev \
46          ${{ inputs.asan == 'false' && 'libavif-dev' || '' }} \
47          libonig-dev \
48          libcurl4-openssl-dev \
49          libxml2-dev \
50          libxslt1-dev \
51          libpq-dev \
52          libedit-dev \
53          libldap2-dev \
54          libsodium-dev \
55          libargon2-dev \
56          libmm-dev \
57          libsnmp-dev \
58          postgresql \
59          postgresql-contrib \
60          snmpd \
61          snmp-mibs-downloader \
62          freetds-dev \
63          unixodbc-dev \
64          llvm \
65          clang \
66          dovecot-core \
67          dovecot-pop3d \
68          dovecot-imapd \
69          sendmail \
70          firebird-dev \
71          liblmdb-dev \
72          libtokyocabinet-dev \
73          libdb-dev \
74          libqdbm-dev \
75          libjpeg-dev \
76          libpng-dev \
77          libfreetype6-dev
78