Skip to content

Commit 77cb79e

Browse files
committed
Windows runner - use bash to configure and powershell to build SAM
1 parent 3aa0308 commit 77cb79e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,14 +382,19 @@ jobs:
382382
uses: actions/checkout@v4
383383
with:
384384
path: sam
385-
- name: Build sam
385+
- name: configure sam
386+
shell: bash
386387
if: steps.cachedsam.outputs.cache-hit != 'true'
387388
run: |
388389
cd sam
389390
mkdir build
390391
cd build
391392
cmake -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_SYSTEM_VERSION=10 -DSAMAPI_EXPORT=0 -DCMAKE_SYSTEM_PREFIX_PATH=${ORTOOLSDIR} -Dabsl_DIR=${ORTOOLSDIR}\lib\cmake\absl" -Dutf8_range_DIR=${ORTOOLSDIR}\lib\cmake\utf8_range" ..
393+
- name: build sam
394+
if: steps.cachedsam.outputs.cache-hit != 'true'
395+
run: |
392396
MSBuild.exe ./samos.sln /t:Build /p:Configuration=Release
397+
393398
394399
# - name: Download RunProcess
395400
# shell: bash {0}

0 commit comments

Comments
 (0)