File tree Expand file tree Collapse file tree 7 files changed +36
-6
lines changed Expand file tree Collapse file tree 7 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 5
5
- shell : bash
6
6
run : |
7
7
set -x
8
+
8
9
sudo apt-get update
9
10
sudo apt-get install \
10
11
bison \
@@ -58,11 +59,15 @@ runs:
58
59
libjpeg-dev \
59
60
libpng-dev \
60
61
libfreetype6-dev
62
+
61
63
mkdir /opt/oracle
62
64
wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip
63
65
unzip instantclient-basiclite-linuxx64.zip && rm instantclient-basiclite-linuxx64.zip
64
66
wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip
65
67
unzip instantclient-sdk-linuxx64.zip && rm instantclient-sdk-linuxx64.zip
66
68
mv instantclient_*_* /opt/oracle/instantclient
67
- # Interferes with libldap2 headers.
69
+ # interferes with libldap2 headers
68
70
rm /opt/oracle/instantclient/sdk/include/ldap.h
71
+ # fix debug build warning: zend_signal: handler was replaced for signal (2) after startup
72
+ echo DISABLE_INTERRUPT=on > /opt/oracle/instantclient/network/admin/sqlnet.ora
73
+ 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