Skip to content

Commit

Permalink
Release v3.4.2 (#1207)
Browse files Browse the repository at this point in the history
* Set Producer C SDK to a Release Tag; CI Fix (#1204)

* Update libkvscproducer-CMakeLists.txt

* Update libkvscproducer-CMakeLists.txt

* Shorten Windows CI path

* Move repo to the new location in CI

* Fix the path

* Update ci.yml

* Fix path

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Bump Mac runner image from 12 to 13

* Bump the version from 3.4.1 to 3.4.2 (#1206)

---------

Co-authored-by: Stefan Kieszkowski <[email protected]>
  • Loading branch information
sirknightj and stefankiesz authored Oct 10, 2024
1 parent 49fa6cb commit 7acf272
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
mac-os-build-clang:
runs-on: macos-12
runs-on: macos-13
env:
AWS_KVS_LOG_LEVEL: 2
permissions:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
./tst/producerTest
mac-os-build-gcc:
runs-on: macos-12
runs-on: macos-13
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -286,16 +286,22 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Move repository
run: |
mkdir C:\producer
Move-Item -Path "D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\*" -Destination "D:\producer"
- name: Install dependencies
run: |
choco install nasm strawberryperl
choco install gstreamer --version=1.22.8
choco install gstreamer-devel --version=1.22.8
- name: Build repository
run: |
$env:Path += ';C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\Program Files\NASM;D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\open-source\local\lib;D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\open-source\local\bin'
$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'
git config --system core.longpaths true
.github/build_windows.bat
cd D:\producer
dir
.\build_windows.bat
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
Expand All @@ -305,8 +311,8 @@ jobs:
role-duration-seconds: 10800
- name: Run tests
run: |
$env:Path += ';C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\Program Files\NASM;D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\open-source\local\lib;D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\open-source\local\bin'
& "D:\a\amazon-kinesis-video-streams-producer-sdk-cpp\amazon-kinesis-video-streams-producer-sdk-cpp\build\tst\producerTest.exe"
$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:\producer\build\tst\producerTest.exe"
arm64-cross-compilation:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion CMake/Dependencies/libkvscproducer-CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(ExternalProject)
# clone repo only
ExternalProject_Add(libkvscproducer-download
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-producer-c.git
GIT_TAG 178109a5dbfc5288ba5cf7fab1dc1afd5e2e182b
GIT_TAG v1.5.3
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/kvscproducer-src"
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/kvscproducer-build"
CONFIGURE_COMMAND ""
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")
include(Utilities)
project(KinesisVideoProducerCpp)

project(KinesisVideoProducerCpp VERSION 3.4.1)
project(KinesisVideoProducerCpp VERSION 3.4.2)

set(CMAKE_CXX_STANDARD 11)
include(GNUInstallDirs)
Expand Down

0 comments on commit 7acf272

Please sign in to comment.