[libdvdnav-devel] [Git][videolan/libdvdnav][master] 2 commits: CI: Added debian, macos, win32 and win64 jobs.

Konstantin Pavlov gitlab at videolan.org
Wed Dec 5 19:00:13 CET 2018


Konstantin Pavlov pushed to branch master at VideoLAN / libdvdnav


Commits:
d3b7e958 by Konstantin Pavlov at 2018-11-30T14:48:03Z
CI: Added debian, macos, win32 and win64 jobs.

- - - - -
469e23bb by Konstantin Pavlov at 2018-12-05T18:00:11Z
Merge branch 'ci' into 'master'

CI: Added debian, macos, win32 and win64 jobs.

See merge request videolan/libdvdnav!1
- - - - -


1 changed file:

- + .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -0,0 +1,102 @@
+stages:
+    - build
+
+variables:
+    GIT_SUBMODULE_STRATEGY: normal
+
+build-debian:
+    image: registry.videolan.org:5000/vlc-debian-unstable:20181128113529
+    stage: build
+    tags:
+        - debian
+        - amd64
+    script:
+        - autoreconf -fisv
+        - mkdir build
+        - cd build
+        - ../configure
+        - make -j $(getconf _NPROCESSORS_ONLN)
+
+build-macos:
+    stage: build
+    tags:
+        - macos
+    script:
+        - curl -sS -O https://nightlies.videolan.org/build/contribs/vlc-contrib-x86_64-apple-darwin17-latest.tar.bz2
+        - tar xf vlc-contrib-x86_64-apple-darwin17-latest.tar.bz2
+        - cd x86_64-apple-darwin17
+        - curl -sS -o ./change_prefix.sh 'https://git.videolan.org/?p=vlc.git;a=blob_plain;f=contrib/src/change_prefix.sh;hb=HEAD'
+        - chmod +x ./change_prefix.sh
+        - ./change_prefix.sh
+        - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`pwd -P`/lib/pkgconfig/"
+        - export PATH="$PATH:`pwd -P`/bin/"
+        - cd ../
+        - autoreconf -fisv
+        - mkdir build
+        - cd build
+        - ../configure
+        - make -j $(getconf _NPROCESSORS_ONLN)
+        - make install DESTDIR=`pwd`/artifacts
+    artifacts:
+        name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+        paths:
+            - build/artifacts/
+        expire_in: 1 week
+
+build-win64:
+    image: registry.videolan.org:5000/vlc-debian-win64:20181107154313
+    stage: build
+    tags:
+        - debian
+        - amd64
+        - win64
+    script:
+        - wget -nv https://nightlies.videolan.org/build/contribs/vlc-contrib-x86_64-w64-mingw32-latest.tar.bz2
+        - tar xf vlc-contrib-x86_64-w64-mingw32-latest.tar.bz2
+        - cd x86_64-w64-mingw32
+        - wget -nv -O ./change_prefix.sh 'https://git.videolan.org/?p=vlc.git;a=blob_plain;f=contrib/src/change_prefix.sh;hb=HEAD'
+        - chmod +x ./change_prefix.sh
+        - ./change_prefix.sh
+        - cd ..
+        - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`realpath x86_64-w64-mingw32`/lib/pkgconfig/"
+        - export PATH="$PATH:`realpath x86_64-w64-mingw32`/bin/"
+        - autoreconf -fisv
+        - mkdir build
+        - cd build
+        - ../configure --host=x86_64-w64-mingw32
+        - make -j $(getconf _NPROCESSORS_ONLN)
+        - make install DESTDIR=`pwd`/artifacts
+    artifacts:
+        name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+        paths:
+            - build/artifacts/
+        expire_in: 1 week
+
+build-win32:
+    image: registry.videolan.org:5000/vlc-debian-win32:20181107151708
+    stage: build
+    tags:
+        - debian
+        - amd64
+        - win32
+    script:
+        - wget -nv https://nightlies.videolan.org/build/contribs/vlc-contrib-i686-w64-mingw32-latest.tar.bz2
+        - tar xf vlc-contrib-i686-w64-mingw32-latest.tar.bz2
+        - cd i686-w64-mingw32
+        - wget -nv -O ./change_prefix.sh 'https://git.videolan.org/?p=vlc.git;a=blob_plain;f=contrib/src/change_prefix.sh;hb=HEAD'
+        - chmod +x ./change_prefix.sh
+        - ./change_prefix.sh
+        - cd ..
+        - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`realpath i686-w64-mingw32`/lib/pkgconfig/"
+        - export PATH="$PATH:`realpath i686-w64-mingw32`/bin/"
+        - autoreconf -fisv
+        - mkdir build
+        - cd build
+        - ../configure --host=i686-w64-mingw32
+        - make -j $(getconf _NPROCESSORS_ONLN)
+        - make install DESTDIR=`pwd`/artifacts
+    artifacts:
+        name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+        paths:
+            - build/artifacts/
+        expire_in: 1 week



View it on GitLab: https://code.videolan.org/videolan/libdvdnav/compare/dcb9109e45ccd304ec82a7c7bf46cca63620adf9...469e23bb5b12efd2b044d463444b113d54c81d63

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdnav/compare/dcb9109e45ccd304ec82a7c7bf46cca63620adf9...469e23bb5b12efd2b044d463444b113d54c81d63
You're receiving this email because of your account on code.videolan.org.


More information about the libdvdnav-devel mailing list