File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119119 with :
120120 persist-credentials : false
121121 - name : Install dependencies
122- shell : cmd
122+ shell : pwsh
123123 run : |
124124 vcpkg install zlib:x64-windows nlohmann-json:x64-windows nanoarrow:x64-windows roaring:x64-windows cpr:x64-windows
125125 - name : Setup sccache
@@ -128,19 +128,19 @@ jobs:
128128 shell : bash
129129 run : bash ci/scripts/start_minio.sh
130130 - name : Build Iceberg
131- shell : cmd
131+ shell : pwsh
132132 env :
133133 SCCACHE_GHA_ENABLED : " true"
134134 run : |
135- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
136- bash -c "ci/scripts/build_iceberg.sh $(pwd) OFF ON"
137- if %errorlevel% neq 0 exit /b %errorlevel%
135+ $ErrorActionPreference = "Stop"
136+ cmd /c "call \"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat\" x64 && bash -lc \ "ci/scripts/build_iceberg.sh ` $(pwd) OFF ON\" "
137+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
138138 sccache --show-stats
139139 - name : Build Example
140- shell : cmd
140+ shell : pwsh
141141 run : |
142- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
143- bash -c "ci/scripts/build_example.sh $(pwd)/example"
142+ $ErrorActionPreference = "Stop"
143+ cmd /c "call \"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat\" x64 && bash -lc \ "ci/scripts/build_example.sh ` $(pwd)/example\" "
144144 meson :
145145 name : Meson - ${{ matrix.title }}
146146 runs-on : ${{ matrix.runs-on }}
You can’t perform that action at this time.
0 commit comments