mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 09:44:22 +03:00
Add libcurl.dll to windows package
This commit is contained in:
parent
e590b6eeda
commit
a94c0197a7
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -79,7 +79,11 @@ jobs:
|
||||
run: |
|
||||
# vcpkg build prequisites
|
||||
(Get-Command vcpkg).Path
|
||||
if (Test-Path C:\vcpkg\installed) {vcpkg update} else {vcpkg install libxml2:x64-windows}
|
||||
Get-ChildItem -Path C:\vcpkg\installed
|
||||
if (Test-Path C:\vcpkg\installed\x64-windows\lib\libcurl.lib) {echo "curl already installed"} else {vcpkg install curl:x64-windows}
|
||||
if (Test-Path C:\vcpkg\installed\x64-windows\lib\libxml2.lib) {echo "libxml2 already installed"} else {vcpkg install libxml2:x64-windows}
|
||||
vcpkg update
|
||||
vcpkg upgrade
|
||||
vcpkg integrate install
|
||||
refreshenv
|
||||
# fix known win build bugs
|
||||
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -252,8 +252,13 @@ jobs:
|
||||
run: |
|
||||
# vcpkg build prequisites
|
||||
(Get-Command vcpkg).Path
|
||||
if (Test-Path C:\vcpkg\installed) {vcpkg update} else {vcpkg install libxml2:x64-windows}
|
||||
Get-ChildItem -Path C:\vcpkg\installed
|
||||
if (Test-Path C:\vcpkg\installed\x64-windows\lib\libcurl.lib) {echo "curl already installed"} else {vcpkg install curl:x64-windows}
|
||||
if (Test-Path C:\vcpkg\installed\x64-windows\lib\libxml2.lib) {echo "libxml2 already installed"} else {vcpkg install libxml2:x64-windows}
|
||||
vcpkg update
|
||||
vcpkg upgrade
|
||||
vcpkg integrate install
|
||||
refreshenv
|
||||
# install proxy and server
|
||||
pip3 install --requirement bin/requirements-frozen.txt
|
||||
- name: Run Tests units
|
||||
|
@ -114,6 +114,11 @@ SectionGroup "dlls"
|
||||
SetOutPath $INSTDIR
|
||||
File "zlib1.dll"
|
||||
SectionEnd
|
||||
Section "libcurl.dll"
|
||||
SectionIn RO
|
||||
SetOutPath $INSTDIR
|
||||
File "libcurl.dll"
|
||||
SectionEnd
|
||||
SectionGroupEnd
|
||||
|
||||
SectionGroup "txt"
|
||||
|
@ -26,7 +26,7 @@ $oldpath = Get-ItemProperty -Path HKCU:\Environment -Name Path
|
||||
$newpath = $oldpath.Path += ";c:\vcpkg"
|
||||
Set-ItemProperty -Path HKCU:\Environment -Name Path -Value $newpath
|
||||
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
|
||||
vcpkg install libxml2:x64-windows
|
||||
vcpkg install libxml2:x64-windows curl:x64-windows
|
||||
vcpkg integrate install
|
||||
Set-ItemProperty -Path HKCU:\Environment -Name VCPKGRS_DYNAMIC -Value "1"
|
||||
$env:VCPKGRS_DYNAMIC = [System.Environment]::GetEnvironmentVariable("VCPKGRS_DYNAMIC","User")
|
||||
|
Loading…
Reference in New Issue
Block a user