From 7acf272672ced72bbbad85fe39d366deca57280e Mon Sep 17 00:00:00 2001 From: sirknightj Date: Thu, 10 Oct 2024 14:17:30 -0700 Subject: [PATCH] Release v3.4.2 (#1207) * 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 <85728496+stefankiesz@users.noreply.github.com> --- .github/workflows/ci.yml | 18 ++++++++++++------ .../libkvscproducer-CMakeLists.txt | 2 +- CMakeLists.txt | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e762bc0..a4f0a62f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 @@ -286,6 +286,10 @@ 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 @@ -293,9 +297,11 @@ jobs: 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: @@ -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 diff --git a/CMake/Dependencies/libkvscproducer-CMakeLists.txt b/CMake/Dependencies/libkvscproducer-CMakeLists.txt index 35532f94..41718a86 100644 --- a/CMake/Dependencies/libkvscproducer-CMakeLists.txt +++ b/CMake/Dependencies/libkvscproducer-CMakeLists.txt @@ -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 "" diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a2a9132..7f1e1c19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)