[Enhancement] Add a pipeline ci
Issue #476
new
Maybe it might be good to add a ci to x265 using the pipelines feature from bitbucket, something like bitbucket-pipelines.yml:
# This is a sample build configuration for C++ – Make.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: gcc:8
definitions:
steps:
- step: &installtools
name: Install default tools
script:
- apt install nasm cmake build-essential
- gcc --version
- cmake --version
- nasm --version
- step: &defaultcmake
name: Use default cmake values
script:
- cd build/linux
- cmake -G"Unix Makefiles" ../../source
- step: &defaultmake
name: Use make -j all
script: make -j
pipelines:
default:
- parallel:
- step:
name: Default Build
script: # Modify the commands below to build your repository.
- *installtools
- *defaultcmake
- *defaultmake
- step:
name: HDR10, High bit depth, PIC, and assembly
script:
- *installtools
- cd build/linux
- cmake -G"Unix Makefiles" ../../source -DHIGH_BIT_DEPTH=ON -DENABLE_PIC=ON -DENABLE_HDR10_PLUS=ON -DENABLE_ASSEMBLY=ON
- *defaultmake
With the builds being modified as needed.
I'm not sure if there already is some automated testing somewhere (I didn't see one other than the python test harness), but at least it should help with isolated build testing.