2021-06-07 13:12:56 +00:00
|
|
|
# Simple CircleCI configuration for building uvgRTP
|
2021-07-27 07:46:38 +00:00
|
|
|
|
2021-06-07 13:12:56 +00:00
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
docker:
|
|
|
|
|
- image: cimg/base:2021.04
|
2021-07-27 13:51:14 +00:00
|
|
|
resource_class: small
|
2021-06-07 13:12:56 +00:00
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run:
|
|
|
|
|
name: Install GCC
|
|
|
|
|
command: 'sudo apt-get update && sudo apt-get install -y gcc g++'
|
|
|
|
|
- run:
|
|
|
|
|
name: Install CMAKE
|
|
|
|
|
command: 'sudo apt-get install -y cmake'
|
2022-09-08 06:50:46 +00:00
|
|
|
- run:
|
|
|
|
|
name: Install Crypto++
|
|
|
|
|
command: 'sudo apt-get install -y libcrypto++-dev'
|
2021-06-07 13:12:56 +00:00
|
|
|
- run:
|
|
|
|
|
name: Create build files
|
|
|
|
|
command: 'cmake -H. -Bbuild'
|
|
|
|
|
- run:
|
|
|
|
|
name: Build the uvgRTP library
|
2021-07-27 13:51:14 +00:00
|
|
|
command: 'cmake --build build'
|
2021-06-07 13:12:56 +00:00
|
|
|
- run:
|
2022-09-08 06:50:46 +00:00
|
|
|
name: Build the examples
|
|
|
|
|
command: 'cmake --build build/examples'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run binding example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/binding'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run configuration example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/configuration'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run timestamp example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/custom_timestamps'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run RTP hook example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/receiving_hook'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run RTP polling example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/receiving_poll'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run RTCP hook example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/rtcp_hook'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run sending example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/sending'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run generic format example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/sending_generic'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run user managed SRTP key example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/srtp_user'
|
2021-07-27 13:16:47 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run ZRTP + SRTP multistream key example
|
2022-09-08 06:50:46 +00:00
|
|
|
command: 'build/examples/zrtp_multistream'
|
2021-07-27 13:16:47 +00:00
|
|
|
|
2022-09-21 11:23:06 +00:00
|
|
|
# the SRTP + ZRTP example does not have an end so it is not included
|