Remove lock for frame delay cacluation #407
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: media-server-unit-tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Initialize submodules | |
run: git submodule update --init --recursive | |
- uses: actions/checkout@v3 | |
- name: Install pre-requisite package | |
run: | | |
sudo apt-get update | |
sudo apt-get install --fix-missing -y libavcodec-dev libx264-dev libx265-dev libavutil-dev libvpx-dev libswscale-dev libswresample-dev libavformat-dev libssl-dev libavfilter-dev | |
- name: Configure | |
run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. | |
- name: Get number of CPU cores | |
uses: "./.github/actions/github-actions-cpu-cores-2.0.0" | |
id: cpu-cores | |
- name: make | |
run: cd build && make -j${{ steps.cpu-cores.outputs.count }} | |
- name: Run Test | |
run: cd build && ./MediaServerUnitTest | |
- name: Run Legacy Test | |
run: cd build && ./MediaServerLegacyTest |