ref: decd4a95579082c578862c4e36948b194a399b41
parent: 533dccd92671b521fac8daa191dde6dbf8d4e7e2
author: Marvin Scholz <[email protected]>
date: Thu Sep 27 12:21:34 EDT 2018
CI: Save artifacts for Windows builds
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,8 +17,18 @@
tags:
- win32
script:
- - meson build --buildtype release --cross-file /opt/crossfiles/i686-w64-mingw32.meson
+ - meson build --buildtype release
+ --libdir lib
+ --prefix "$(pwd)/build/dav1d_install"
+ --cross-file /opt/crossfiles/i686-w64-mingw32.meson
+ -Ddefault_library=both
- ninja -v -C build
+ - ninja -v -C build install
+ artifacts:
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+ paths:
+ - build/dav1d_install/
+ expire_in: 1 week
build-win64:
image: registry.videolan.org:5000/dav1d-debian-unstable:20180927123816
@@ -26,5 +36,15 @@
tags:
- win64
script:
- - meson build --buildtype release --cross-file /opt/crossfiles/x86_64-w64-mingw32.meson
+ - meson build --buildtype release
+ --libdir lib
+ --prefix "$(pwd)/build/dav1d_install"
+ --cross-file /opt/crossfiles/x86_64-w64-mingw32.meson
+ -Ddefault_library=both
- ninja -v -C build
+ - ninja -v -C build install
+ artifacts:
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+ paths:
+ - build/dav1d_install/
+ expire_in: 1 week