Normalize CMake paths in Windows MSVC CI

github.workspace expands with Windows backslashes (D:\a\...), which
SuiteSparse 7.14.1's SuiteSparse__blas_threading.cmake embeds into a
try_run CMakeLists.txt string where \a fails as an invalid escape.

Convert github.workspace to forward slashes before passing paths into
CMake in the cuDSS, SuiteSparse, Eigen, and Ceres steps. Also extract
SuiteSparse (v7.14.1.tar.gz) and Eigen with Windows native tar.exe
instead of PowerShell Expand-Archive (which spent ~20 minutes unzipping
SuiteSparse) and fail fast on non-zero LASTEXITCODE.

Change-Id: I41ddf930cf3aaa3a73d4b6406bdae0a0137c0200
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index cd56d8f..2708dee 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -153,9 +153,9 @@
       - name: Setup cuDSS environment
         if: matrix.gpu == 'cuda'
         run: |
-          $CUDSS_PATH = "${{github.workspace}}/libcudss-windows-x86_64-1.0.0.35_cuda13-archive/"
-          echo "cudss_DIR=$CUDSS_PATH/lib/cmake/cudss" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
-          echo "$CUDSS_PATH/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+          $WORKSPACE = "${{github.workspace}}" -replace '\\', '/'
+          echo "cudss_DIR=$WORKSPACE/libcudss-windows-x86_64-1.0.0.35_cuda13-archive/lib/cmake/cudss" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+          echo '${{github.workspace}}\libcudss-windows-x86_64-1.0.0.35_cuda13-archive\bin' | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
 
       - name: Cache OpenBLAS
         id: cache-openblas
@@ -185,28 +185,33 @@
       - name: Download and build SuiteSparse
         if: steps.cache-suitesparse.outputs.cache-hit != 'true'
         run: |
-          Invoke-WebRequest https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v7.14.1.zip -OutFile suitesparse.zip
-          Expand-Archive -Path suitesparse.zip -DestinationPath .
-          Remove-Item suitesparse.zip
+          $ProgressPreference = 'SilentlyContinue'
+          $WORKSPACE = "${{github.workspace}}" -replace '\\', '/'
+          Invoke-WebRequest https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v7.14.1.tar.gz -OutFile suitesparse.tar.gz
+          & "$env:SystemRoot\System32\tar.exe" -xf suitesparse.tar.gz
+          if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
+          Remove-Item suitesparse.tar.gz
           cmake -S SuiteSparse-7.14.1 -B build-suitesparse `
                 -DBLA_VENDOR=OpenBLAS `
-                -DBLAS_INCLUDE_DIRS=${{github.workspace}}/openblas/include `
-                -DBLAS_LIBRARIES=${{github.workspace}}/openblas/lib/libopenblas.lib `
+                -DBLAS_INCLUDE_DIRS=$WORKSPACE/openblas/include `
+                -DBLAS_LIBRARIES=$WORKSPACE/openblas/lib/libopenblas.lib `
                 -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} `
                 -DBUILD_STATIC_LIBS=${{matrix.lib == 'static'}} `
                 -DCMAKE_CONFIGURATION_TYPES=${{matrix.build_type}} `
-                -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/suitesparse `
-                -DLAPACK_LIBRARIES=${{github.workspace}}/openblas/lib/libopenblas.lib `
+                -DCMAKE_INSTALL_PREFIX=$WORKSPACE/suitesparse `
+                -DLAPACK_LIBRARIES=$WORKSPACE/openblas/lib/libopenblas.lib `
                 '-DSUITESPARSE_C_TO_FORTRAN=(name,NAME) name##_' `
                 -DSUITESPARSE_DEMOS=OFF `
                 '-DSUITESPARSE_ENABLE_PROJECTS=cholmod;spqr' `
                 -DSUITESPARSE_USE_CUDA=OFF `
                 -DSUITESPARSE_USE_FORTRAN=OFF `
                 -DSUITESPARSE_USE_OPENMP=OFF
+          if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
           cmake --build build-suitesparse `
                 --config ${{matrix.build_type}} `
                 --target install `
                 --parallel
+          if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
           Remove-Item -Recurse -Force SuiteSparse-7.14.1, build-suitesparse
 
       - name: Cache Eigen
@@ -220,24 +225,28 @@
         if: steps.cache-eigen.outputs.cache-hit != 'true'
         run: |
           (New-Object System.Net.WebClient).DownloadFile("https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip", "eigen-3.4.0.zip");
-          Expand-Archive -Path eigen-3.4.0.zip -DestinationPath .;
+          & "$env:SystemRoot\System32\tar.exe" -xf eigen-3.4.0.zip;
+          if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
 
       - name: Setup Eigen
         if: steps.cache-eigen.outputs.cache-hit != 'true'
         run: |
+          $WORKSPACE = "${{github.workspace}}" -replace '\\', '/'
           cmake -S eigen-3.4.0 -B build-eigen `
                 -DBUILD_TESTING=OFF `
                 -DCMAKE_Fortran_COMPILER= `
-                -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/eigen `
+                -DCMAKE_INSTALL_PREFIX=$WORKSPACE/eigen `
                 -DEIGEN_BUILD_DOC=OFF
+          if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
           cmake --build build-eigen `
                 --config ${{matrix.build_type}} `
                 --target install
 
       - name: Setup Build Environment
         run: |
-          echo "Eigen3_ROOT=${{github.workspace}}/eigen" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
-          echo "CMAKE_PREFIX_PATH=${{github.workspace}}/suitesparse" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+          $WORKSPACE = "${{github.workspace}}" -replace '\\', '/'
+          echo "Eigen3_ROOT=$WORKSPACE/eigen" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+          echo "CMAKE_PREFIX_PATH=$WORKSPACE/suitesparse" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
 
       - name: Setup Runtime Environment
         run: |
@@ -268,14 +277,15 @@
 
       - name: Configure
         run: |
+          $WORKSPACE = "${{github.workspace}}" -replace '\\', '/'
           cmake -S . -B build_${{matrix.build_type}}/ `
-                -DBLAS_blas_LIBRARY=${{github.workspace}}/openblas/lib/libopenblas.lib `
+                -DBLAS_blas_LIBRARY=$WORKSPACE/openblas/lib/libopenblas.lib `
                 -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} `
                 -DCMAKE_CONFIGURATION_TYPES=${{matrix.build_type}} `
-                -DCMAKE_INSTALL_PREFIX:PATH=${{github.workspace}}/install `
+                -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/install `
                 "-DCMAKE_VS_GLOBALS=CLToolExe=cl.exe;CLToolPath=${{github.workspace}}\ccache-4.10.2-windows-x86_64;TrackFileAccess=false;UseMultiToolTask=true;DebugInformationFormat=OldStyle" `
                 -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded `
-                -DLAPACK_lapack_LIBRARY=${{github.workspace}}/openblas/lib/libopenblas.lib `
+                -DLAPACK_lapack_LIBRARY=$WORKSPACE/openblas/lib/libopenblas.lib `
                 -DWITH_SUITESPARSE=ON
 
       - name: Build