[vlc-commits] Add a minimal CI
Hugo Beauzée-Luyssen
git at videolan.org
Wed Jun 22 06:32:47 UTC 2022
npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jun 21 15:21:03 2022 +0200| [eb252ce9237b82360e6f930fa1e77794271f3855] | committer: Hugo Beauzée-Luyssen
Add a minimal CI
> https://code.videolan.org/videolan/npapi-vlc/commit/eb252ce9237b82360e6f930fa1e77794271f3855
---
.gitlab-ci.yml | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..94a2fb1
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+variables:
+ GIT_SUBMODULE_STRATEGY: normal
+ WIN32_IMAGE: registry.videolan.org/medialibrary-win32:20220502075714
+ WIN64_IMAGE: registry.videolan.org/medialibrary-win64:20220616131601
+ PKG_CONFIG_LIBDIR: /prefix/lib/pkgconfig
+
+.common_build:
+ rules:
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+ - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "$CI_DEFAULT_BRANCH at videolan/npapi-vlc"'
+ tags:
+ - docker
+ - amd64
+ script:
+ - ./autogen.sh
+ - ./configure --host=$ARCH-w64-mingw32 --disable-shared
+ - make -j4
+
+build-win32:
+ extends: .common_build
+ image: $WIN32_IMAGE
+ variables:
+ ARCH: i686
+
+build-win64:
+ extends: .common_build
+ image: $WIN64_IMAGE
+ variables:
+ ARCH: x86_64
More information about the vlc-commits
mailing list