File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 run : |
7575 # Download and extract Embree (simplified approach)
7676 Invoke-WebRequest -Uri "${{ matrix.embree_url }}" -OutFile "embree.zip"
77+ Write-Host "Extracting embree.zip..."
7778 Expand-Archive -Path "embree.zip" -DestinationPath "." -Force
79+ Write-Host "Contents after embree extraction:"
80+ Get-ChildItem -Directory | Where-Object { $_.Name -like "*embree*" } | Select-Object Name
7881
7982 # Download and extract OIDN (preserve CMakeLists.txt)
8083 Invoke-WebRequest -Uri "https://github.com/RenderKit/oidn/releases/download/v2.3.3/oidn-2.3.3.x64.windows.zip" -OutFile "oidn.zip"
@@ -160,8 +163,15 @@ jobs:
160163 run : |
161164 New-Item -ItemType Directory -Path "build" -Force | Out-Null
162165 Set-Location build
163- $embreeLocation = Resolve-Path "$PWD/../${{ matrix.embree_dir }}"
164- Write-Host "Setting EMBREE_LOCATION to: $embreeLocation"
166+ # Find the actual embree directory that was extracted
167+ $embreeDirs = Get-ChildItem -Path "$PWD/.." -Directory | Where-Object { $_.Name -like "*embree*" }
168+ if ($embreeDirs) {
169+ $embreeLocation = $embreeDirs[0].FullName
170+ Write-Host "Found embree directory: $embreeLocation"
171+ } else {
172+ Write-Host "Error: No embree directory found!"
173+ exit 1
174+ }
165175 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DEMBREE_LOCATION="$embreeLocation"
166176
167177 - name : Configure CMake (macOS)
You can’t perform that action at this time.
0 commit comments