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

Konstantin Pavlov gitlab at videolan.org
Thu Dec 6 15:39:16 CET 2018


Konstantin Pavlov pushed to branch master at VideoLAN / libbdplus


Commits:
5bc0a3a5 by Konstantin Pavlov at 2018-11-30T12:59:18Z
CI: added debian, macos, win32 and win64 build jobs.

- - - - -
14726802 by Konstantin Pavlov at 2018-11-30T14:24:08Z
CI: added artifacts for mac, win32 and win64 builds.

- - - - -


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:
+        - ./bootstrap
+        - mkdir build
+        - cd build
+        - ../configure --without-libaacs
+        - 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 ../
+        - ./bootstrap
+        - mkdir build
+        - cd build
+        - ../configure --without-libaacs
+        - 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/"
+        - ./bootstrap
+        - mkdir build
+        - cd build
+        - ../configure --host=x86_64-w64-mingw32 --without-libaacs
+        - 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/"
+        - ./bootstrap
+        - mkdir build
+        - cd build
+        - ../configure --host=i686-w64-mingw32 --without-libaacs
+        - 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/libbdplus/compare/1dea3255b09505e2d85d7a0b2cd6de94cbfc3386...147268028c7ab29add3ec33d53dc4a270698e1c6

-- 
View it on GitLab: https://code.videolan.org/videolan/libbdplus/compare/1dea3255b09505e2d85d7a0b2cd6de94cbfc3386...147268028c7ab29add3ec33d53dc4a270698e1c6
You're receiving this email because of your account on code.videolan.org.


More information about the libbdplus-devel mailing list