Skip to content
Snippets Groups Projects
Commit 6fa63553 authored by Jonas Leder's avatar Jonas Leder
Browse files

fix php-devel install

parent 362bf490
Branches
No related tags found
No related merge requests found
Pipeline #24651 failed
......@@ -6,7 +6,8 @@ build:
- wget -UseBasicParsing -OutFile php-8.1.24-Win32-vs16-x64.zip https://windows.php.net/downloads/releases/php-8.1.24-Win32-vs16-x64.zip
- wget -UseBasicParsing -OutFile php-devel-pack-8.2.11-Win32-vs16-x64.zip https://windows.php.net/downloads/releases/php-devel-pack-8.2.11-Win32-vs16-x64.zip
- Expand-Archive -LiteralPath ./php-8.1.24-Win32-vs16-x64.zip -DestinationPath C:\PHP
- Expand-Archive -LiteralPath ./php-devel-pack-8.2.11-Win32-vs16-x64.zip -DestinationPath C:\PHP
- Expand-Archive -LiteralPath ./php-devel-pack-8.2.11-Win32-vs16-x64.zip -DestinationPath php-devel
- robocopy php-devel\php-8.2.11-devel-vs16-x64\ C:\PHP\
- wget -UseBasicParsing -OutFile winsdksetup.exe https://download.microsoft.com/download/b/8/5/b85bd06f-491c-4c1c-923e-75ce2fe2378e/windowssdk/winsdksetup.exe
- $env:Path += ';C:\php'
......@@ -22,8 +23,9 @@ build:
- Wait-Job $job
- Receive-Job $job
- $env:Path += ';C:\git\bin'
- sleep 10
- wget -UseBasicParsing -OutFile otel.zip https://github.com/open-telemetry/opentelemetry-php-instrumentation/archive/refs/heads/main.zip
- Expand-Archive -LiteralPath ./otel.zip -DestinationPath C:\otel-php
- cd C:\otel-php\/opentelemetry-php-instrumentation-main\ext
- C:\php\php-8.2.11-devel-vs16-x64\phpize
- C:\php\phpize
- .\configure.bat --enable-opentelemetry
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment