diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-14 16:24:29 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-15 12:12:13 +0100 |
commit | 869221cfb69cf8f4d8476cc392fd3c258e87f6f1 (patch) | |
tree | f6d012338972d319212c3b46c6a8cd46fe95f3e4 /azure/apt.yml | |
parent | daa420a0da5df43aa98bd9f416855a25821f26a4 (diff) | |
download | php-git-869221cfb69cf8f4d8476cc392fd3c258e87f6f1.tar.gz |
Build PDO OCI and OCI8 on azure
The extensions are build as shared to only check that they compile,
without running tests. The OCI8 extension does not properly SKIPIF
no database is available.
It should be noted that if we do want to also test these, then
(apart from running a database) it will also be necessary to configure
with LIBS="-Wl,--disable-new-dtags" in order to force the use of RPATH
instead of RUNPATH, the latter of which does not affect dlopened
libraries. Using LD_LIBRARY_PATH does not mesh well with our test
suite.
Closes GH-6604.
Diffstat (limited to 'azure/apt.yml')
-rw-r--r-- | azure/apt.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/azure/apt.yml b/azure/apt.yml index 8c21d1c45f..9166509dcc 100644 --- a/azure/apt.yml +++ b/azure/apt.yml @@ -52,3 +52,13 @@ steps: firebird-dev \ ${{ parameters.packages }} displayName: 'APT' + - script: | + mkdir /opt/oracle + wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip + unzip instantclient-basiclite-linuxx64.zip + wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip + unzip instantclient-sdk-linuxx64.zip + mv instantclient_*_* /opt/oracle/instantclient + # Interferes with libldap2 headers. + rm /opt/oracle/instantclient/sdk/include/ldap.h + displayName: 'Install Oracle Instant Client' |