@@ -93,11 +93,13 @@ jobs:
9393 - name : Build samples (Windows)
9494 if : runner.os == 'Windows'
9595 run : |
96- $env:Path += ';C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\Program Files\NASM;${{ github.workspace }}\open-source\local\lib;${{ github.workspace }}\open-source\local\bin'
96+ $env:Path += ';C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\Program Files\NASM;D:\producer\open-source\local\lib;D:\producer\open-source\local\bin'
97+ mkdir D:\producer
98+ Move-Item -Path "D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\*" -Destination "D:\producer"
99+ cd D:\producer
97100 git config --system core.longpaths true
98101 dir
99102 .github\build_windows.bat
100- mkdir "%KVS_DEBUG_DUMP_DATA_FILE_DIR%"
101103
102104 - name : Configure AWS Credentials
103105 uses : aws-actions/configure-aws-credentials@v4
@@ -120,15 +122,17 @@ jobs:
120122 - name : Run ${{ matrix.sample.name }} (Windows)
121123 if : runner.os == 'Windows'
122124 env :
123- GST_PLUGIN_PATH : ${{ github.workspace }}/ build
124- KVS_DEBUG_DUMP_DATA_FILE_DIR : ${{ github.workspace }}/build/ debug_output
125- working-directory : ./ build
125+ GST_PLUGIN_PATH : D:\producer\ build
126+ KVS_DEBUG_DUMP_DATA_FILE_DIR : D:\producer\ debug_output
127+ working-directory : D:\producer\ build
126128 run : |
127129 # Equivalent to set -x
128130 Set-PSDebug -Trace 1
129131
130132 $env:Path += ';C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\Program Files\NASM;D:\producer\open-source\local\lib;D:\producer\open-source\local\bin;D:\gstreamer\1.0\msvc_x86_64\bin'
131133
134+ mkdir D:\producer\debug_output
135+
132136 Invoke-WebRequest -Uri https://awsj-iot-handson.s3-ap-northeast-1.amazonaws.com/kvs-workshop/sample.mp4 -OutFile sample.mp4
133137 dir
134138 $exePath = Join-Path $PWD ${{ matrix.sample.name }}.exe
@@ -153,7 +157,7 @@ jobs:
153157 done
154158 shell : bash
155159
156- - name : Verify MKV dump
160+ - name : Verify MKV dump (Windows)
157161 if : runner.os == 'Windows'
158162 working-directory : D:\producer\build
159163 run : |
0 commit comments