File tree 7 files changed +35
-9
lines changed 7 files changed +35
-9
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,11 @@ runs:
59
59
libpng-dev \
60
60
libfreetype6-dev
61
61
mkdir /opt/oracle
62
- wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip
63
- unzip instantclient-basiclite-linuxx64.zip
64
- wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip
65
- unzip instantclient-sdk-linuxx64.zip
62
+ wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip
63
+ unzip instantclient-basiclite-linuxx64.zip && rm instantclient-basiclite-linuxx64.zip
64
+ wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip
65
+ unzip instantclient-sdk-linuxx64.zip && rm instantclient-sdk-linuxx64.zip
66
66
mv instantclient_*_* /opt/oracle/instantclient
67
67
# Interferes with libldap2 headers.
68
68
rm /opt/oracle/instantclient/sdk/include/ldap.h
69
+ sudo sh -c 'echo /opt/oracle/instantclient >/etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig'
Original file line number Diff line number Diff line change 10
10
sudo chmod 777 /etc/php.d
11
11
echo mysqli.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/mysqli.ini
12
12
echo pdo_mysql.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/pdo_mysql.ini
13
+ echo extension=oci8.so > /etc/php.d/oci8.ini
14
+ echo extension=pdo_oci.so > /etc/php.d/pdo_oci.ini
Original file line number Diff line number Diff line change 1
- name : Create mssql container
1
+ name : Create MSSQL container
2
2
runs :
3
3
using : composite
4
4
steps :
Original file line number Diff line number Diff line change
1
+ name : Create Oracle container
2
+ runs :
3
+ using : composite
4
+ steps :
5
+ - shell : bash
6
+ run : |
7
+ set -x
8
+ docker run \
9
+ -e "ORACLE_PASSWORD=pass" \
10
+ -p 1521:1521 \
11
+ --name oracle \
12
+ -h oracle \
13
+ -d gvenzl/oracle-xe:slim
Original file line number Diff line number Diff line change 17
17
export PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0"
18
18
export PDO_DBLIB_TEST_USER="pdo_test"
19
19
export PDO_DBLIB_TEST_PASS="password"
20
+ export PHP_OCI8_TEST_USER="system"
21
+ export PHP_OCI8_TEST_PASS="pass"
22
+ export PHP_OCI8_TEST_DB="localhost/XEPDB1"
23
+ export PDO_OCI_TEST_USER="system"
24
+ export PDO_OCI_TEST_PASS="pass"
25
+ export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
20
26
export SKIP_IO_CAPTURE_TESTS=1
21
27
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
22
28
-j$(/usr/bin/nproc) \
Original file line number Diff line number Diff line change 47
47
uses : actions/checkout@v2
48
48
with :
49
49
ref : ${{ matrix.branch.ref }}
50
- - name : Create mssql container
51
- uses : ./.github/actions/mssql
50
+ - name : Create MSSQL container
51
+ uses : ./.github/actions/setup-mssql
52
+ - name : Create Oracle container
53
+ uses : ./.github/actions/setup-oracle
52
54
- name : apt
53
55
uses : ./.github/actions/apt-x64
54
56
- name : ./configure
Original file line number Diff line number Diff line change 32
32
steps :
33
33
- name : git checkout
34
34
uses : actions/checkout@v2
35
- - name : Create mssql container
36
- uses : ./.github/actions/mssql
35
+ - name : Create MSSQL container
36
+ uses : ./.github/actions/setup-mssql
37
+ - name : Create Oracle container
38
+ uses : ./.github/actions/setup-oracle
37
39
- name : apt
38
40
uses : ./.github/actions/apt-x64
39
41
- name : ./configure
You can’t perform that action at this time.
0 commit comments