CI on refs/heads/main on b1a9c751e28630477ff02ecaee1d67af281f91f9 #58
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: CI | |
run-name: CI on ${{ github.ref }} on ${{ github.sha }} | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Build-And-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: libavutil58 libavcodec-dev libavformat-dev libswscale-dev libswresample-dev | |
version: 1.2 | |
execute_install_scripts: true | |
- name: CMake config & build | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release . | |
cmake --build build --parallel 4 | |
- name: Run test | |
run: ./build/tools/test/tests | |
- name: Run benchmark | |
run: ./build/tools/benchmark/benchmarks |