Skip to content

Commit a5bce78

Browse files
authored
Pin cmake to v3 (#1247)
* Pin CMake version to v3 * Switch to develop branch
1 parent 3318c47 commit a5bce78

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ jobs:
2020
contents: read
2121
steps:
2222
- name: Clone repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
- name: Install dependencies
2525
run: |
26-
brew install pkg-config openssl cmake gstreamer log4cplus
27-
brew unlink openssl
26+
brew install cmake gstreamer log4cplus
27+
- name: Setup cmake
28+
uses: jwlawson/actions-setup-cmake@v2
29+
with:
30+
cmake-version: '3.x'
2831
- name: Build repository
2932
run: |
3033
mkdir build && cd build
@@ -62,11 +65,14 @@ jobs:
6265
AWS_KVS_LOG_LEVEL: 2
6366
steps:
6467
- name: Clone repository
65-
uses: actions/checkout@v3
68+
uses: actions/checkout@v4
6669
- name: Install dependencies
6770
run: |
68-
brew install pkg-config openssl cmake gstreamer log4cplus
69-
brew unlink openssl
71+
brew install cmake gstreamer log4cplus
72+
- name: Setup cmake
73+
uses: jwlawson/actions-setup-cmake@v2
74+
with:
75+
cmake-version: '3.x'
7076
- name: Build repository
7177
run: |
7278
mkdir build && cd build
@@ -317,7 +323,11 @@ jobs:
317323
contents: read
318324
steps:
319325
- name: Clone repository
320-
uses: actions/checkout@v3
326+
uses: actions/checkout@v4
327+
- name: Setup cmake
328+
uses: jwlawson/actions-setup-cmake@v2
329+
with:
330+
cmake-version: '3.x'
321331
- name: Move repository
322332
run: |
323333
mkdir C:\producer

CMake/Dependencies/libkvscproducer-CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include(ExternalProject)
77
# clone repo only
88
ExternalProject_Add(libkvscproducer-download
99
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-producer-c.git
10-
GIT_TAG v1.5.3
10+
GIT_TAG develop
1111
GIT_SHALLOW TRUE
1212
GIT_PROGRESS TRUE
1313
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/kvscproducer-src"

0 commit comments

Comments
 (0)