@@ -507,156 +507,156 @@ jobs:
507
507
- name : Install dependencies
508
508
run : |
509
509
sudo apt clean && sudo apt update
510
- sudo apt-get -y install libcurl4-openssl-dev
511
- openssl version
512
- - name : Build repository
513
- run : |
514
- # TODO: Remove the following line. This is only a workaround for enabling IPv6, https://github.com/travis-ci/travis-ci/issues/8891.
515
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
516
- mkdir build && cd build
517
- cmake .. -DBUILD_TEST=TRUE
518
- make
519
- - name : Run tests
520
- run : |
521
- cd build
522
- timeout --signal=SIGABRT 60m ./tst/webrtc_client_test
523
- ubuntu-os-build-openssl-old :
524
- runs-on : ubuntu-latest
525
- env :
526
- AWS_KVS_LOG_LEVEL : 2
527
- permissions :
528
- id-token : write
529
- contents : read
530
- steps :
531
- - name : Clone repository
532
- uses : actions/checkout@v3
533
- - name : Configure AWS Credentials
534
- uses : aws-actions/configure-aws-credentials@v2
535
- with :
536
- role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
537
- aws-region : ${{ secrets.AWS_REGION }}
538
- - name : Install dependencies
539
- run : |
540
- sudo apt clean && sudo apt update
541
- sudo apt-get -y install libcurl4-openssl-dev
510
+ # sudo apt-get -y install libcurl4-openssl-dev
542
511
openssl version
543
512
- name : Build repository
544
513
run : |
545
514
# TODO: Remove the following line. This is only a workaround for enabling IPv6, https://github.com/travis-ci/travis-ci/issues/8891.
546
515
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
547
516
mkdir build && cd build
548
- cmake .. -DBUILD_TEST=TRUE -DBUILD_OLD_OPENSSL_VERSION=ON - DENABLE_AWS_SDK_IN_TESTS=OFF
517
+ cmake .. -DBUILD_TEST=TRUE -DENABLE_AWS_SDK_IN_TESTS=OFF
549
518
make
550
519
- name : Run tests
551
520
run : |
552
521
cd build
553
522
timeout --signal=SIGABRT 60m ./tst/webrtc_client_test
554
- windows-msvc-openssl :
555
- runs-on : windows-2022
556
- env :
557
- AWS_KVS_LOG_LEVEL : 1
558
- permissions :
559
- id-token : write
560
- contents : read
561
- steps :
562
- - name : Clone repository
563
- uses : actions/checkout@v3
564
- - name : Configure AWS Credentials
565
- uses : aws-actions/configure-aws-credentials@v2
566
- with :
567
- role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
568
- aws-region : ${{ secrets.AWS_REGION }}
569
- - name : Move cloned repo
570
- shell : powershell
571
- run : |
572
- mkdir C:\webrtc
573
- Move-Item -Path "D:\a\amazon-kinesis-video-streams-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\*" -Destination "C:\webrtc"
574
- - name : Install dependencies
575
- shell : powershell
576
- run : |
577
- choco install gstreamer --version=1.16.2
578
- choco install gstreamer-devel --version=1.16.2
579
- curl.exe -o C:\tools\pthreads-w32-2-9-1-release.zip ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
580
- mkdir C:\tools\pthreads-w32-2-9-1-release\
581
- Expand-Archive -Path C:\tools\pthreads-w32-2-9-1-release.zip -DestinationPath C:\tools\pthreads-w32-2-9-1-release
582
- # - name: Build libwebsockets from source
583
- # shell: powershell
584
- # run: |
585
- # $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-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\lib\x64;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\include'
586
- # git config --system core.longpaths true
587
- # cd C:\tools\
588
- # git clone https://github.com/warmcat/libwebsockets.git
589
- # git checkout v4.2.2
590
- # cd libwebsockets
591
- # mkdir build
592
- # cd build
593
- # cmake .. -DLWS_HAVE_PTHREAD_H=1 -DLWS_EXT_PTHREAD_INCLUDE_DIR="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\include" -DLWS_EXT_PTHREAD_LIBRARIES="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\lib\\x64\\libpthreadGC2.a" -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_OPENSSL_INCLUDE_DIRS="C:\\Program Files\\OpenSSL\\include" -DLWS_OPENSSL_LIBRARIES="C:\\Program Files\\OpenSSL\\lib\\libssl.lib;C:\\Program Files\\OpenSSL\\lib\\libcrypto.lib"
594
- # cmake --build . --config DEBUG
595
- - name : Build repository
596
- shell : powershell
597
- run : |
598
- openssl version
599
- cd C:\webrtc
600
- git config --system core.longpaths true
601
- .github\build_windows_openssl.bat
602
- - name : Run tests
603
- shell : powershell
604
- run : |
605
- $env:Path += ';C:\webrtc\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\dll\x64;C:\webrtc\build'
606
- & "C:\webrtc\build\tst\webrtc_client_test.exe" --gtest_filter="-DataChannelFunctionalityTest.*:DtlsApiTest*:IceApiTest.*:IceFunctionalityTest.*:PeerConnectionFunctionalityTest.*:SignalingApiFunctionalityTest.*:TurnConnectionFunctionalityTest.*:RtpFunctionalityTest.marshallUnmarshallH264Data:RtpFunctionalityTest.packingUnpackingVerifySameH264Frame:RtcpFunctionalityTest.onRtcpPacketCompound:RtcpFunctionalityTest.twcc3"
607
- windows-msvc-openssl-old :
608
- runs-on : windows-2022
609
- env :
610
- AWS_KVS_LOG_LEVEL : 1
611
- permissions :
612
- id-token : write
613
- contents : read
614
- steps :
615
- - name : Clone repository
616
- uses : actions/checkout@v3
617
- - name : Configure AWS Credentials
618
- uses : aws-actions/configure-aws-credentials@v2
619
- with :
620
- role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
621
- aws-region : ${{ secrets.AWS_REGION }}
622
- - name : Move cloned repo
623
- shell : powershell
624
- run : |
625
- mkdir C:\webrtc
626
- Move-Item -Path "D:\a\amazon-kinesis-video-streams-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\*" -Destination "C:\webrtc"
627
- - name : Install dependencies
628
- shell : powershell
629
- run : |
630
- choco install gstreamer --version=1.16.2
631
- choco install gstreamer-devel --version=1.16.2
632
- curl.exe -o C:\tools\pthreads-w32-2-9-1-release.zip ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
633
- mkdir C:\tools\pthreads-w32-2-9-1-release\
634
- Expand-Archive -Path C:\tools\pthreads-w32-2-9-1-release.zip -DestinationPath C:\tools\pthreads-w32-2-9-1-release
635
- # - name: Build libwebsockets from source
636
- # shell: powershell
637
- # run: |
638
- # $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-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\lib\x64;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\include'
639
- # git config --system core.longpaths true
640
- # cd C:\tools\
641
- # git clone https://github.com/warmcat/libwebsockets.git
642
- # git checkout v4.2.2
643
- # cd libwebsockets
644
- # mkdir build
645
- # cd build
646
- # cmake .. -DLWS_HAVE_PTHREAD_H=1 -DLWS_EXT_PTHREAD_INCLUDE_DIR="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\include" -DLWS_EXT_PTHREAD_LIBRARIES="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\lib\\x64\\libpthreadGC2.a" -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_OPENSSL_INCLUDE_DIRS="C:\\Program Files\\OpenSSL\\include" -DLWS_OPENSSL_LIBRARIES="C:\\Program Files\\OpenSSL\\lib\\libssl.lib;C:\\Program Files\\OpenSSL\\lib\\libcrypto.lib"
647
- # cmake --build . --config DEBUG
648
- - name : Build repository
649
- shell : powershell
650
- run : |
651
- openssl version
652
- cd C:\webrtc
653
- git config --system core.longpaths true
654
- .github\build_windows_openssl_old.bat
655
- - name : Run tests
656
- shell : powershell
657
- run : |
658
- $env:Path += ';C:\webrtc\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\dll\x64;C:\webrtc\build'
659
- & "C:\webrtc\build\tst\webrtc_client_test.exe" --gtest_filter="-DataChannelFunctionalityTest.*:DtlsApiTest*:IceApiTest.*:IceFunctionalityTest.*:PeerConnectionFunctionalityTest.*:SignalingApiFunctionalityTest.*:TurnConnectionFunctionalityTest.*:RtpFunctionalityTest.marshallUnmarshallH264Data:RtpFunctionalityTest.packingUnpackingVerifySameH264Frame:RtcpFunctionalityTest.onRtcpPacketCompound:RtcpFunctionalityTest.twcc3"
523
+ # ubuntu-os-build-openssl-old:
524
+ # runs-on: ubuntu-latest
525
+ # env:
526
+ # AWS_KVS_LOG_LEVEL: 2
527
+ # permissions:
528
+ # id-token: write
529
+ # contents: read
530
+ # steps:
531
+ # - name: Clone repository
532
+ # uses: actions/checkout@v3
533
+ # - name: Configure AWS Credentials
534
+ # uses: aws-actions/configure-aws-credentials@v2
535
+ # with:
536
+ # role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
537
+ # aws-region: ${{ secrets.AWS_REGION }}
538
+ # - name: Install dependencies
539
+ # run: |
540
+ # sudo apt clean && sudo apt update
541
+ # sudo apt-get -y install libcurl4-openssl-dev
542
+ # openssl version
543
+ # - name: Build repository
544
+ # run: |
545
+ # # TODO: Remove the following line. This is only a workaround for enabling IPv6, https://github.com/travis-ci/travis-ci/issues/8891.
546
+ # sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
547
+ # mkdir build && cd build
548
+ # cmake .. -DBUILD_TEST=TRUE -DBUILD_OLD_OPENSSL_VERSION=ON -DENABLE_AWS_SDK_IN_TESTS=OFF
549
+ # make
550
+ # - name: Run tests
551
+ # run: |
552
+ # cd build
553
+ # timeout --signal=SIGABRT 60m ./tst/webrtc_client_test
554
+ # windows-msvc-openssl:
555
+ # runs-on: windows-2022
556
+ # env:
557
+ # AWS_KVS_LOG_LEVEL: 1
558
+ # permissions:
559
+ # id-token: write
560
+ # contents: read
561
+ # steps:
562
+ # - name: Clone repository
563
+ # uses: actions/checkout@v3
564
+ # - name: Configure AWS Credentials
565
+ # uses: aws-actions/configure-aws-credentials@v2
566
+ # with:
567
+ # role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
568
+ # aws-region: ${{ secrets.AWS_REGION }}
569
+ # - name: Move cloned repo
570
+ # shell: powershell
571
+ # run: |
572
+ # mkdir C:\webrtc
573
+ # Move-Item -Path "D:\a\amazon-kinesis-video-streams-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\*" -Destination "C:\webrtc"
574
+ # - name: Install dependencies
575
+ # shell: powershell
576
+ # run: |
577
+ # choco install gstreamer --version=1.16.2
578
+ # choco install gstreamer-devel --version=1.16.2
579
+ # curl.exe -o C:\tools\pthreads-w32-2-9-1-release.zip ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
580
+ # mkdir C:\tools\pthreads-w32-2-9-1-release\
581
+ # Expand-Archive -Path C:\tools\pthreads-w32-2-9-1-release.zip -DestinationPath C:\tools\pthreads-w32-2-9-1-release
582
+ # # - name: Build libwebsockets from source
583
+ # # shell: powershell
584
+ # # run: |
585
+ # # $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-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\lib\x64;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\include'
586
+ # # git config --system core.longpaths true
587
+ # # cd C:\tools\
588
+ # # git clone https://github.com/warmcat/libwebsockets.git
589
+ # # git checkout v4.2.2
590
+ # # cd libwebsockets
591
+ # # mkdir build
592
+ # # cd build
593
+ # # cmake .. -DLWS_HAVE_PTHREAD_H=1 -DLWS_EXT_PTHREAD_INCLUDE_DIR="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\include" -DLWS_EXT_PTHREAD_LIBRARIES="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\lib\\x64\\libpthreadGC2.a" -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_OPENSSL_INCLUDE_DIRS="C:\\Program Files\\OpenSSL\\include" -DLWS_OPENSSL_LIBRARIES="C:\\Program Files\\OpenSSL\\lib\\libssl.lib;C:\\Program Files\\OpenSSL\\lib\\libcrypto.lib"
594
+ # # cmake --build . --config DEBUG
595
+ # - name: Build repository
596
+ # shell: powershell
597
+ # run: |
598
+ # openssl version
599
+ # cd C:\webrtc
600
+ # git config --system core.longpaths true
601
+ # .github\build_windows_openssl.bat
602
+ # - name: Run tests
603
+ # shell: powershell
604
+ # run: |
605
+ # $env:Path += ';C:\webrtc\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\dll\x64;C:\webrtc\build'
606
+ # & "C:\webrtc\build\tst\webrtc_client_test.exe" --gtest_filter="-DataChannelFunctionalityTest.*:DtlsApiTest*:IceApiTest.*:IceFunctionalityTest.*:PeerConnectionFunctionalityTest.*:SignalingApiFunctionalityTest.*:TurnConnectionFunctionalityTest.*:RtpFunctionalityTest.marshallUnmarshallH264Data:RtpFunctionalityTest.packingUnpackingVerifySameH264Frame:RtcpFunctionalityTest.onRtcpPacketCompound:RtcpFunctionalityTest.twcc3"
607
+ # windows-msvc-openssl-old:
608
+ # runs-on: windows-2022
609
+ # env:
610
+ # AWS_KVS_LOG_LEVEL: 1
611
+ # permissions:
612
+ # id-token: write
613
+ # contents: read
614
+ # steps:
615
+ # - name: Clone repository
616
+ # uses: actions/checkout@v3
617
+ # - name: Configure AWS Credentials
618
+ # uses: aws-actions/configure-aws-credentials@v2
619
+ # with:
620
+ # role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
621
+ # aws-region: ${{ secrets.AWS_REGION }}
622
+ # - name: Move cloned repo
623
+ # shell: powershell
624
+ # run: |
625
+ # mkdir C:\webrtc
626
+ # Move-Item -Path "D:\a\amazon-kinesis-video-streams-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\*" -Destination "C:\webrtc"
627
+ # - name: Install dependencies
628
+ # shell: powershell
629
+ # run: |
630
+ # choco install gstreamer --version=1.16.2
631
+ # choco install gstreamer-devel --version=1.16.2
632
+ # curl.exe -o C:\tools\pthreads-w32-2-9-1-release.zip ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
633
+ # mkdir C:\tools\pthreads-w32-2-9-1-release\
634
+ # Expand-Archive -Path C:\tools\pthreads-w32-2-9-1-release.zip -DestinationPath C:\tools\pthreads-w32-2-9-1-release
635
+ # # - name: Build libwebsockets from source
636
+ # # shell: powershell
637
+ # # run: |
638
+ # # $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-webrtc-sdk-c\amazon-kinesis-video-streams-webrtc-sdk-c\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\lib\x64;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\include'
639
+ # # git config --system core.longpaths true
640
+ # # cd C:\tools\
641
+ # # git clone https://github.com/warmcat/libwebsockets.git
642
+ # # git checkout v4.2.2
643
+ # # cd libwebsockets
644
+ # # mkdir build
645
+ # # cd build
646
+ # # cmake .. -DLWS_HAVE_PTHREAD_H=1 -DLWS_EXT_PTHREAD_INCLUDE_DIR="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\include" -DLWS_EXT_PTHREAD_LIBRARIES="C:\\tools\\pthreads-w32-2-9-1-release\\Pre-built.2\\lib\\x64\\libpthreadGC2.a" -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_OPENSSL_INCLUDE_DIRS="C:\\Program Files\\OpenSSL\\include" -DLWS_OPENSSL_LIBRARIES="C:\\Program Files\\OpenSSL\\lib\\libssl.lib;C:\\Program Files\\OpenSSL\\lib\\libcrypto.lib"
647
+ # # cmake --build . --config DEBUG
648
+ # - name: Build repository
649
+ # shell: powershell
650
+ # run: |
651
+ # openssl version
652
+ # cd C:\webrtc
653
+ # git config --system core.longpaths true
654
+ # .github\build_windows_openssl_old.bat
655
+ # - name: Run tests
656
+ # shell: powershell
657
+ # run: |
658
+ # $env:Path += ';C:\webrtc\open-source\bin;C:\tools\pthreads-w32-2-9-1-release\Pre-built.2\dll\x64;C:\webrtc\build'
659
+ # & "C:\webrtc\build\tst\webrtc_client_test.exe" --gtest_filter="-DataChannelFunctionalityTest.*:DtlsApiTest*:IceApiTest.*:IceFunctionalityTest.*:PeerConnectionFunctionalityTest.*:SignalingApiFunctionalityTest.*:TurnConnectionFunctionalityTest.*:RtpFunctionalityTest.marshallUnmarshallH264Data:RtpFunctionalityTest.packingUnpackingVerifySameH264Frame:RtcpFunctionalityTest.onRtcpPacketCompound:RtcpFunctionalityTest.twcc3"
660
660
661
661
# # windows-msvc-mbedtls:
662
662
# # runs-on: windows-2022
0 commit comments