Skip to content

Commit 95f0709

Browse files
authored
Adjust windows CI PATH, update chocolatey gstreamer version (#1253)
CI changes for unblocking the sample fix
1 parent b2e15a6 commit 95f0709

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ jobs:
331331
- name: Move repository
332332
run: |
333333
mkdir C:\producer
334-
Move-Item -Path "D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\*" -Destination "D:\producer"
334+
Move-Item -Path "$env:GITHUB_WORKSPACE\*" -Destination "D:\producer"
335335
- name: Install dependencies
336336
run: |
337337
choco install nasm strawberryperl
338-
choco install gstreamer --version=1.22.8
339-
choco install gstreamer-devel --version=1.22.8
338+
choco install gstreamer --version=1.22.12
339+
choco install gstreamer-devel --version=1.22.12
340340
- name: Build repository
341341
run: |
342342
$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'

.github/workflows/kvssink.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ jobs:
239239
- name: Move repository
240240
run: |
241241
mkdir D:\producer
242-
Move-Item -Path "D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\*" -Destination "D:\producer"
242+
Move-Item -Path "$env:GITHUB_WORKSPACE\*" -Destination "D:\producer"
243243
- name: Install dependencies
244244
run: |
245245
choco install nasm strawberryperl mkvtoolnix
246-
choco install gstreamer --version=1.22.8
247-
choco install gstreamer-devel --version=1.22.8
246+
choco install gstreamer --version=1.22.12
247+
choco install gstreamer-devel --version=1.22.12
248248
- name: Build repository
249249
run: |
250250
$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'
@@ -334,7 +334,8 @@ jobs:
334334
# Copy to ~/kvs-cpp-repo for simplicity
335335
# Note: Can't move due to no permissions
336336
REPO_NAME=$(basename ${{ github.repository }})
337-
cp -r /mnt/d/a/$REPO_NAME/$REPO_NAME ~/kvs-cpp-repo
337+
DRIVE_LETTER=$(echo "${{ github.workspace }}" | sed -r 's/^([A-Za-z]):.*/\1/' | tr '[:upper:]' '[:lower:]')
338+
cp -r /mnt/$DRIVE_LETTER/a/$REPO_NAME/$REPO_NAME ~/kvs-cpp-repo
338339
339340
- name: Build kvssink in WSL
340341
run: |

.github/workflows/samples.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ jobs:
110110
if: runner.os == 'Windows'
111111
run: |
112112
choco install nasm strawberryperl pkgconfiglite mkvtoolnix
113-
choco install gstreamer --version=1.22.8
114-
choco install gstreamer-devel --version=1.22.8
113+
choco install gstreamer --version=1.22.12
114+
choco install gstreamer-devel --version=1.22.12
115115
116116
- name: Build samples (Linux & Mac)
117117
if: runner.os == 'Linux' || runner.os == 'macOS'
@@ -415,7 +415,8 @@ jobs:
415415
# Copy to ~/kvs-cpp-repo for simplicity
416416
# Note: Can't move due to no permissions
417417
REPO_NAME=$(basename ${{ github.repository }})
418-
cp -r /mnt/d/a/$REPO_NAME/$REPO_NAME ~/kvs-cpp-repo
418+
DRIVE_LETTER=$(echo "${{ github.workspace }}" | sed -r 's/^([A-Za-z]):.*/\1/' | tr '[:upper:]' '[:lower:]')
419+
cp -r /mnt/$DRIVE_LETTER/a/$REPO_NAME/$REPO_NAME ~/kvs-cpp-repo
419420
mkdir -p ~/kvs-cpp-repo/build
420421
cp -r /mnt/d/a/$REPO_NAME/$REPO_NAME/assets/*.mp4 ~/kvs-cpp-repo/build
421422

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1
8484
```
8585
_Windows_
8686
```bat
87-
choco install gstreamer --version=1.22.8 gstreamer-devel --version=1.22.8
87+
choco install gstreamer --version=1.22.12 gstreamer-devel --version=1.22.12
8888
```
8989
#### Verify GStreamer Installation
9090
Run the following command to display the GStreamer version to confirm the installation was successful:

0 commit comments

Comments
 (0)