File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 Expand-Archive -Path "embree.zip" -DestinationPath "."
7878 $embreePath = "${{ matrix.embree_dir }}"
7979
80- # Add to PATH for CMake to find it
81- echo "$PWD/$embreePath/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
82- echo "EMBREE_LOCATION=$PWD/$embreePath" | Out-File -FilePath $env:GITHUB_ENV -Append
80+ # Clean existing Embree installation
81+ if (Test-Path "thirdparty/embree") {
82+ Remove-Item -Path "thirdparty/embree" -Recurse -Force
83+ }
84+
85+ # Move extracted Embree directory to thirdparty
86+ Move-Item -Path $embreePath -Destination "thirdparty/embree" -Force
87+
88+ # Add to PATH and set EMBREE_LOCATION
89+ echo "$PWD/thirdparty/embree/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
90+ echo "EMBREE_LOCATION=$PWD/thirdparty/embree" | Out-File -FilePath $env:GITHUB_ENV -Append
8391
8492 # Download and extract OIDN for Windows (v2.3.3 from RenderKit)
8593 Invoke-WebRequest -Uri "https://github.com/RenderKit/oidn/releases/download/v2.3.3/oidn-2.3.3.x64.windows.zip" -OutFile "oidn.zip"
You can’t perform that action at this time.
0 commit comments