Skip to content

Commit

Permalink
Install Catch2 in Github Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Apr 9, 2021
1 parent 3c4ed5d commit 92612ad
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -35,8 +35,13 @@ jobs:
libopenshot-audio-dev \
qtbase5-dev qtbase5-dev-tools \
libfdk-aac-dev libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libpostproc-dev libswresample-dev \
libzmq3-dev libmagick++-dev libunittest++-dev \
libzmq3-dev libmagick++-dev \
libopencv-dev libprotobuf-dev protobuf-compiler
# Install catch2 package from Ubuntu 20.10, since for some reason
# even 20.04 only has Catch 1.12.1 available.
wget https://launchpad.net/ubuntu/+archive/primary/+files/catch2_2.13.0-1_all.deb
sudo dpkg -i catch2_2.13.0-1_all.deb
- name: Build libopenshot
shell: bash
Expand All @@ -51,7 +56,7 @@ jobs:
shell: bash
run: |
pushd build
cmake --build . --target os_test -- VERBOSE=1
cmake --build . --target coverage -- VERBOSE=1
popd
- name: Install libopenshot
Expand All @@ -65,4 +70,3 @@ jobs:
if: ${{ matrix.compiler == 'clang' }}
with:
file: build/coverage.info

0 comments on commit 92612ad

Please sign in to comment.