diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86bba7b1..0e25a8ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,8 +65,8 @@ jobs: id-token: write contents: read env: - CC: gcc - CXX: g++ + CC: /usr/local/bin/gcc-13 + CXX: /usr/local/bin/g++-13 AWS_KVS_LOG_LEVEL: 2 steps: - name: Clone repository @@ -205,7 +205,7 @@ jobs: timeout --signal=SIGABRT 60m ./tst/producerTest # memory-sanitizer: - # runs-on: ubuntu-20.04 + # runs-on: ubuntu-20.04 # permissions: # id-token: write # contents: read @@ -304,7 +304,7 @@ jobs: run: | choco install nasm strawberryperl choco install gstreamer --version=1.16.2 - choco install gstreamer-devel --version=1.16.2 + choco install gstreamer-devel --version=1.16.2 - 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' diff --git a/CMakeLists.txt b/CMakeLists.txt index 8faf0554..a6ab6bc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,7 +127,11 @@ else() endif() if (WIN32) - set(PKG_CONFIG_EXECUTABLE "C:\\gstreamer\\1.0\\x86_64\\bin\\pkg-config.exe") + if(EXISTS "C:\\gstreamer\\1.0\\x86_64\\bin\\pkg-config.exe") + set(PKG_CONFIG_EXECUTABLE "C:\\gstreamer\\1.0\\x86_64\\bin\\pkg-config.exe") + else() + set(PKG_CONFIG_EXECUTABLE "D:\\gstreamer\\1.0\\x86_64\\bin\\pkg-config.exe") + endif() endif() ############# Enable Sanitizers ############