mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-15 17:12:14 +03:00
where are you?
This commit is contained in:
55
.github/workflows/test-ci-windows.yml
vendored
55
.github/workflows/test-ci-windows.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$apachePath = "${{ github.workspace }}\apache-x86"
|
$apachePath = "${{ github.workspace }}\apache-x86"
|
||||||
New-Item -ItemType Directory -Path $apachePath -Force
|
New-Item -ItemType Directory -Path $apachePath -Force
|
||||||
choco install apache-httpd -y --force --forcex86 --params="`"/installLocation:$apachePath /noService`""
|
choco install apache-httpd -y --force --forcex86 --no-progress -r --params="`"/installLocation:$apachePath /noService`""
|
||||||
echo "APACHE_ROOT=$apachePath\Apache24" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
echo "APACHE_ROOT=$apachePath\Apache24" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
|
|
||||||
- name: Set Apache path for x64
|
- name: Set Apache path for x64
|
||||||
@@ -92,15 +92,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$archFlag = "${{ matrix.arch }}"
|
$archFlag = "${{ matrix.arch }}"
|
||||||
$cmakeArch = if ($archFlag -eq "x86") { "Win32" } else { "x64" }
|
$cmakeArch = if ($archFlag -eq "x86") { "Win32" } else { "x64" }
|
||||||
|
|
||||||
$vcpkgIncludePath = "${{ github.workspace }}\iis\build-${{ matrix.arch }}\vcpkg_installed\${{ matrix.arch }}-windows\include"
|
|
||||||
Write-Host "Checking vcpkg include path: $vcpkgIncludePath"
|
|
||||||
if (Test-Path -Path $vcpkgIncludePath) {
|
|
||||||
Write-Host "vcpkg include path exists. Contents:"
|
|
||||||
Get-ChildItem -Path $vcpkgIncludePath
|
|
||||||
} else {
|
|
||||||
Write-Host "vcpkg include path does not exist."
|
|
||||||
}
|
|
||||||
|
|
||||||
cmake `
|
cmake `
|
||||||
-DAPACHE_ROOT="$env:APACHE_ROOT" `
|
-DAPACHE_ROOT="$env:APACHE_ROOT" `
|
||||||
@@ -113,6 +104,50 @@ jobs:
|
|||||||
-DWITH_YAJL=ON `
|
-DWITH_YAJL=ON `
|
||||||
-S IIS -B "iis\build-${{ matrix.arch }}"
|
-S IIS -B "iis\build-${{ matrix.arch }}"
|
||||||
|
|
||||||
|
$vcpkgIncludePath = "${{ github.workspace }}\iis\build-${{ matrix.arch }}\vcpkg_installed\${{ matrix.arch }}-windows\include"
|
||||||
|
Write-Host "Checking vcpkg include path: $vcpkgIncludePath"
|
||||||
|
if (Test-Path -Path $vcpkgIncludePath) {
|
||||||
|
Write-Host "vcpkg include path exists. Contents:"
|
||||||
|
Get-ChildItem -Path $vcpkgIncludePath
|
||||||
|
} else {
|
||||||
|
Write-Host "vcpkg include path does not exist."
|
||||||
|
}
|
||||||
|
|
||||||
|
$vcpkgIncludePath = "${{ github.workspace }}\iis\build\vcpkg_installed\${{ matrix.arch }}-windows\include"
|
||||||
|
Write-Host "Checking vcpkg include path: $vcpkgIncludePath"
|
||||||
|
if (Test-Path -Path $vcpkgIncludePath) {
|
||||||
|
Write-Host "vcpkg include path exists. Contents:"
|
||||||
|
Get-ChildItem -Path $vcpkgIncludePath
|
||||||
|
} else {
|
||||||
|
Write-Host "vcpkg include path does not exist."
|
||||||
|
}
|
||||||
|
|
||||||
|
$vcpkgIncludePath = "${{ github.workspace }}\build-${{ matrix.arch }}\vcpkg_installed\${{ matrix.arch }}-windows\include"
|
||||||
|
Write-Host "Checking vcpkg include path: $vcpkgIncludePath"
|
||||||
|
if (Test-Path -Path $vcpkgIncludePath) {
|
||||||
|
Write-Host "vcpkg include path exists. Contents:"
|
||||||
|
Get-ChildItem -Path $vcpkgIncludePath
|
||||||
|
} else {
|
||||||
|
Write-Host "vcpkg include path does not exist."
|
||||||
|
}
|
||||||
|
|
||||||
|
$vcpkgIncludePath = "${{ github.workspace }}\build\vcpkg_installed\${{ matrix.arch }}-windows\include"
|
||||||
|
Write-Host "Checking vcpkg include path: $vcpkgIncludePath"
|
||||||
|
if (Test-Path -Path $vcpkgIncludePath) {
|
||||||
|
Write-Host "vcpkg include path exists. Contents:"
|
||||||
|
Get-ChildItem -Path $vcpkgIncludePath
|
||||||
|
} else {
|
||||||
|
Write-Host "vcpkg include path does not exist."
|
||||||
|
}
|
||||||
|
|
||||||
|
$vcpkgIncludePath = "${{ github.workspace }}\iis\vcpkg_installed\${{ matrix.arch }}-windows\include"
|
||||||
|
Write-Host "Checking vcpkg include path: $vcpkgIncludePath"
|
||||||
|
if (Test-Path -Path $vcpkgIncludePath) {
|
||||||
|
Write-Host "vcpkg include path exists. Contents:"
|
||||||
|
Get-ChildItem -Path $vcpkgIncludePath
|
||||||
|
} else {
|
||||||
|
Write-Host "vcpkg include path does not exist."
|
||||||
|
}
|
||||||
# - name: Build IIS Module
|
# - name: Build IIS Module
|
||||||
# shell: pwsh
|
# shell: pwsh
|
||||||
# run: |
|
# run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user