File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 51
51
New-Item -ItemType "directory" -Path C:\php-snap-build\snap_master\vs16\${{ matrix.arch }}
52
52
Copy-Item -Path C:\php-snap-build\rmtools\bin\rmtools_setvars.bat-dist -Destination C:\php-snap-build\rmtools\bin\rmtools_setvars.bat
53
53
Copy-Item -Path C:\php-snap-build\rmtools\data\config\credentials_ftps.php-dist -Destination C:\php-snap-build\rmtools\data\config\credentials_ftps.php
54
+ - name : Add InstantClient
55
+ run : |
56
+ $oci_dir="C:/php-snap-build/deps_aux/oracle/${{ matrix.arch }}"
57
+ New-Item -ItemType "directory" -Path $oci_dir
58
+ $suffix = 'windows'
59
+ if ('${{ matrix.arch }}' -eq 'x86') {
60
+ $suffix = 'nt'
61
+ }
62
+ Invoke-WebRequest -UseBasicParsing -Uri https://download.oracle.com/otn_software/nt/instantclient/instantclient-basiclite-$suffix.zip -OutFile $oci_dir\instantclient.zip
63
+ Invoke-WebRequest -UseBasicParsing -Uri https://download.oracle.com/otn_software/nt/instantclient/instantclient-sdk-$suffix.zip -OutFile $oci_dir\sdk.zip
64
+ Expand-Archive -Path $oci_dir\instantclient.zip -DestinationPath $oci_dir -Force
65
+ Expand-Archive -Path $oci_dir\sdk.zip -DestinationPath $oci_dir -Force
66
+ Get-ChildItem $oci_dir | ?{ $_.PSIsContainer } | Rename-Item -NewName instantclient_12_1
54
67
- name : Patch Tools
55
68
run : |
56
69
$git_location="C:\Program Files\Git\cmd\git.exe"
Original file line number Diff line number Diff line change @@ -23,3 +23,4 @@ Please see the [license file](LICENSE) for more information. This project has mu
23
23
24
24
- [ php/web-rmtools] ( https://github.com/php/web-rmtools )
25
25
- [ microsoft/php-sdk-binary-tools] ( https://github.com/microsoft/php-sdk-binary-tools )
26
+ - [ Oracle instantclient] ( https://www.oracle.com/downloads/licenses/instant-client-lic.html )
You can’t perform that action at this time.
0 commit comments