Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into opencv
- Loading branch information
Showing
22 changed files
with
362 additions
and
232 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: CI Build | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04] | ||
compiler: [gcc, clang] | ||
env: | ||
CC: ${{ matrix.compiler }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: haya14busa/action-cond@v1 | ||
id: coverage | ||
with: | ||
cond: ${{ matrix.compiler == 'clang' }} | ||
if_true: "-DENABLE_COVERAGE:BOOL=1" | ||
if_false: "-DENABLE_COVERAGE:BOOL=0" | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: | | ||
sudo add-apt-repository ppa:openshot.developers/libopenshot-daily | ||
sudo apt update | ||
sudo apt install cmake swig doxygen graphviz curl lcov | ||
sudo apt install libopenshot-audio-dev | ||
sudo apt install qtbase5-dev qtbase5-dev-tools | ||
sudo apt install libfdk-aac-dev libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libpostproc-dev libswresample-dev | ||
sudo apt install libzmq3-dev libmagick++-dev libunittest++-dev | ||
- name: Build libopenshot | ||
shell: bash | ||
run: | | ||
mkdir build | ||
pushd build | ||
cmake -B . -S .. -DCMAKE_INSTALL_PREFIX:PATH="dist" -DCMAKE_BUILD_TYPE="Debug" "${{ steps.coverage.outputs.value }}" | ||
cmake --build . -- VERBOSE=1 | ||
popd | ||
- name: Test libopenshot | ||
shell: bash | ||
run: | | ||
pushd build | ||
cmake --build . --target os_test -- VERBOSE=1 | ||
popd | ||
- name: Install libopenshot | ||
shell: bash | ||
run: | | ||
pushd build | ||
cmake --build . --target install -- VERBOSE=1 | ||
popd | ||
- uses: codecov/codecov-action@v1 | ||
if: ${{ matrix.compiler == 'clang' }} | ||
with: | ||
file: build/coverage.info | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
name: Label merge conflicts | ||
|
||
# Controls when the action will run. Triggers the workflow on push to repo branches | ||
# (It shouldn't run on pull requests, as it won't have the right credentials to | ||
# edit labels on other PRs.) | ||
on: push | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: eps1lon/actions-label-merge-conflict@v2.0.1 | ||
with: | ||
# Token for the repository. Can be passed in using {{ secrets.GITHUB_TOKEN }} | ||
repoToken: ${{ secrets.GITHUB_TOKEN }} | ||
# Name of the label which indicates that the branch is dirty | ||
dirtyLabel: 'conflicts' | ||
# Number of seconds after which the action runs again if the mergable state is unknown. | ||
retryAfter: 60 | ||
# Number of times the action retries calculating the mergable state | ||
retryMax: 5 | ||
# String. Comment to add when the pull request is conflicting. Supports markdown. | ||
commentOnDirty: 'Merge conflicts have been detected on this PR, please resolve.' | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
Oops, something went wrong.