2018-09-23 13:11:05 +02:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build-debian:
|
2018-09-28 17:19:15 +02:00
|
|
|
image: registry.videolan.org:5000/dav1d-debian-unstable:20180928151533
|
2018-09-23 13:11:05 +02:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- debian
|
|
|
|
- amd64
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CFLAGS='-Werror' meson build --buildtype release
|
2018-09-28 16:34:07 +02:00
|
|
|
- ninja -C build
|
2018-09-29 11:58:45 +02:00
|
|
|
- cd build && meson test -v
|
2018-09-25 17:52:45 +02:00
|
|
|
|
2018-10-01 10:36:22 +02:00
|
|
|
build-debian-static:
|
|
|
|
image: registry.videolan.org:5000/dav1d-debian-unstable:20180928151533
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- debian
|
|
|
|
- amd64
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CFLAGS='-Werror' meson build --buildtype release --default-library static
|
2018-10-01 10:36:22 +02:00
|
|
|
- ninja -C build
|
|
|
|
- cd build && meson test -v
|
|
|
|
|
2018-09-25 17:52:45 +02:00
|
|
|
build-win32:
|
2018-09-28 17:19:15 +02:00
|
|
|
image: registry.videolan.org:5000/dav1d-debian-unstable:20180928151533
|
2018-09-25 17:52:45 +02:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- win32
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CFLAGS='-Werror'
|
|
|
|
meson build --buildtype release
|
|
|
|
--libdir lib
|
|
|
|
--prefix "$(pwd)/build/dav1d_install"
|
|
|
|
--cross-file /opt/crossfiles/i686-w64-mingw32.meson
|
|
|
|
-Ddefault_library=both
|
2018-09-28 16:34:07 +02:00
|
|
|
- ninja -C build
|
|
|
|
- ninja -C build install
|
2018-09-27 16:21:34 +02:00
|
|
|
artifacts:
|
|
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- build/dav1d_install/
|
|
|
|
expire_in: 1 week
|
2018-09-25 17:52:45 +02:00
|
|
|
|
|
|
|
build-win64:
|
2018-09-28 17:19:15 +02:00
|
|
|
image: registry.videolan.org:5000/dav1d-debian-unstable:20180928151533
|
2018-09-25 17:52:45 +02:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- win64
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CFLAGS='-Werror'
|
|
|
|
meson build --buildtype release
|
|
|
|
--libdir lib
|
|
|
|
--prefix "$(pwd)/build/dav1d_install"
|
|
|
|
--cross-file /opt/crossfiles/x86_64-w64-mingw32.meson
|
|
|
|
-Ddefault_library=both
|
2018-09-28 16:34:07 +02:00
|
|
|
- ninja -C build
|
|
|
|
- ninja -C build install
|
2018-09-27 16:21:34 +02:00
|
|
|
artifacts:
|
|
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- build/dav1d_install/
|
|
|
|
expire_in: 1 week
|
2018-09-29 22:06:14 +02:00
|
|
|
|
|
|
|
build-debian-aarch64:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- aarch64
|
|
|
|
- debian
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CFLAGS='-Werror' meson build --buildtype release
|
2018-09-29 22:06:14 +02:00
|
|
|
- ninja -C build
|
|
|
|
- cd build && meson test -v
|
|
|
|
|
|
|
|
build-debian-aarch64-clang-5:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- aarch64
|
|
|
|
- clang5
|
|
|
|
- debian
|
|
|
|
script:
|
|
|
|
- env CC=clang-5.0 CFLAGS='-integrated-as' meson build --buildtype release
|
|
|
|
- ninja -C build
|
|
|
|
- cd build && meson test -v
|
2018-10-02 11:53:57 +02:00
|
|
|
|
|
|
|
build-macos:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- macos
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CFLAGS='-Werror' meson build --buildtype release -Ddefault_library=both
|
2018-10-02 11:53:57 +02:00
|
|
|
- ninja -C build
|
|
|
|
- cd build && meson test -v
|
2018-10-23 03:09:59 +02:00
|
|
|
|
|
|
|
build-debian-werror:
|
2018-10-24 08:43:51 +02:00
|
|
|
image: dav1d-debian-aarch64:201810240631
|
2018-10-23 03:09:59 +02:00
|
|
|
stage: build
|
|
|
|
tags:
|
2018-10-24 08:43:51 +02:00
|
|
|
- aarch64
|
2018-10-23 03:09:59 +02:00
|
|
|
- debian
|
|
|
|
script:
|
2018-10-24 08:43:51 +02:00
|
|
|
- env CC='clang-7' CFLAGS='-Werror' meson build -Dbuild_tests=false
|
2018-10-23 03:09:59 +02:00
|
|
|
- ninja -C build
|