...
 
Commits (42)
stages:
- build
.variables-debian-amd64: &variables-debian-amd64
_NAME: debian-amd64
.variables-win32: &variables-win32
_MACHINE: i686
_TRIPLET: ${_MACHINE}-w64-mingw32
_NAME: win32
.variables-win64: &variables-win64
_MACHINE: x86_64
_TRIPLET: ${_MACHINE}-w64-mingw32
_NAME: win64
.variables-win64-llvm: &variables-win64-llvm
_MACHINE: x86_64
_TRIPLET: ${_MACHINE}-w64-mingw32
_NAME: win64
WINE_SDK_PATH: /usr/include/wine/wine/windows/
.variables-macos: &variables-macos
VLC_PATH: /Users/videolanci/sandbox/bin
VLC_FORCE_KERNELVERSION: 17
_NAME: macosx-intel
_TRIPLET: x86_64-apple-darwin${VLC_FORCE_KERNELVERSION}
.docker-common:
stage: build
tags:
- docker
- amd64
- zorin
.nightly-common: &nightly-common
before_script:
- export _VLC_VERSION=`fgrep AC_INIT configure.ac | cut -d\[ -f 3 | cut -d- -f 1`
only:
refs:
- schedules
variables:
- $CI_PROJECT_NAMESPACE == 'thresh'
- $CI_PROJECT_NAME == 'vlc'
.win-continuous:
extends: .docker-common
except:
- schedules
script: |
set -x
mkdir -p contrib/contrib-${_NAME} && cd contrib/contrib-${_NAME}
curl -f -L https://nightlies.videolan.org/build/${_NAME}/last/vlc-contrib-${_TRIPLET}-`date +%Y%m%d`.tar.bz2 -o vlc-contrib-${_TRIPLET}-latest.tar.bz2 || curl -f -L https://nightlies.videolan.org/build/${_NAME}/last/vlc-contrib-${_TRIPLET}-`date --date=yesterday +%Y%m%d`.tar.bz2 -o vlc-contrib-${_TRIPLET}-latest.tar.bz2
cd ../../
extras/package/win32/build.sh -p -a ${_MACHINE}
.win32-continuous: &win32-continuous
extends: .win-continuous
image:
name: registry.videolan.org/vlc-debian-win32-nossh:zorin-201904161811
variables: *variables-win32
.win64-continuous: &win64-continuous
extends: .win-continuous
image:
name: registry.videolan.org/vlc-debian-win64:20190410154352
entrypoint: ['bash', '-c', 'exec su -l jenkins -c bash']
variables: *variables-win64
.win-nightly:
<<: *nightly-common
extends: .docker-common
script: |
set -x
extras/package/win32/build.sh -l -c -a ${_MACHINE} -i n
cd ${_NAME}
ls -la
find . -maxdepth 1 -type f -name "vlc-*-dev*${_NAME}*" | xargs sha512sum | tee SHA512SUM
mv vlc-*-dev-${_NAME}.exe $(ls vlc-*-dev-${_NAME}.exe | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
mv vlc-*-dev-${_NAME}.msi $(ls vlc-*-dev-${_NAME}.msi | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
mv vlc-*-dev-${_NAME}.7z $(ls vlc-*-dev-${_NAME}.7z | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
mv vlc-*-dev-${_NAME}.zip $(ls vlc-*-dev-${_NAME}.zip | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
mv vlc-*-dev-${_NAME}.xpi $(ls vlc-*-dev-${_NAME}.xpi | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
mv vlc-*-dev-${_NAME}-debug.7z $(ls vlc-*-dev-${_NAME}-debug.7z | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
mv vlc-*-dev-${_NAME}-debug.zip $(ls vlc-*-dev-${_NAME}-debug.zip | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
echo lftp -c "set ftp:use-allo false;open nightlies.videolan.org:65021;cd UploadQueue;mkdir -p ${_NAME}/vlc-${_VLC_VERSION}-`date +%Y%m%d-%H%M`/; cd ${_NAME}/vlc-${_VLC_VERSION}-`date +%Y%m%d-%H%M`; mput vlc-*.zip vlc-*.exe vlc-*.msi vlc-*.7z vlc-*.xpi ../contrib/vlc-contrib-*.tar.bz2 SHA512SUM"
.win32-nightly:
<<: *win32-continuous
extends: .win-nightly
.win64-nightly:
<<: *win64-continuous
extends: .win-nightly
win32:
extends: .win32-continuous
win64:
extends: .win64-continuous
win32-nightly:
extends: .win32-nightly
win64-nightly:
extends: .win64-nightly
win64-llvm-nightly:
extends: .win-nightly
image:
name: registry.videolan.org/vlc-debian-llvm-mingw:20190408173634
variables: *variables-win64-llvm
.debian-common:
extends: .docker-common
image:
name: registry.videolan.org/vlc-debian-unstable:20190410133343
entrypoint: ['bash', '-c', 'exec su -l jenkins -c bash']
variables: *variables-debian-amd64
before_script:
- export _NCPU=$(getconf _NPROCESSORS_ONLN)
debian-amd64:
extends: .debian-common
except:
- schedules
script: |
set -x
./bootstrap
./configure
make -j${_NCPU} -k || make -j1
make check || cat ./test-suite.log
debian-amd64-nightly:
<<: *nightly-common
extends: .debian-common
script: |
set -x
cd extras/tools && ./bootstrap && make -j${_NCPU} -k || make -j1
export PATH=`pwd`/build/bin:$PATH
cd ../../
cd contrib && mkdir native && cd native
../bootstrap --disable-srt --enable-matroska
make list
make -j${_NCPU} fetch
make -j${_NCPU} -k || make -j1
cd ../../
./bootstrap
mkdir build && cd build
../configure
make -j${_NCPU} -k || make -j1
make check || cat ./test-suite.log
debian-amd64-nightly-source:
<<: *nightly-common
extends: .debian-common
script: |
set -x
./bootstrap
mkdir build && cd build
../configure
make -j${_NCPU}
VLC_TEST_TIMEOUT=60 make -j${_NCPU} distcheck VERBOSE=1
mv vlc-*.tar.xz $(ls vlc-*.tar.xz | sed -re "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
echo lftp -c "set ftp:use-allo false;open nightlies.videolan.org:65021;cd UploadQueue;mkdir -p source ;cd source;mput vlc-*.tar.xz"
snap-nightly:
<<: *nightly-common
extends: .docker-common
image:
name: registry.videolan.org/vlc-ubuntu-bionic:20190410145812
entrypoint: ['bash', '-c', 'exec su -l jenkins -c bash']
variables: *variables-debian-amd64
script: |
set -x
cd extras/package/snap
make -f package.mak snap
echo lftp -c "set dns:order inet; set ftp:use-allo false;open nightlies.videolan.org:65021;cd UploadQueue;mkdir -p snap ;cd snap;mput vlc_*.snap"
mkdir .snapcraft
echo $snapmacaroon | base64 -d -i > .snapcraft/snapcraft.cfg
echo snapcraft push --release edge vlc_*.snap
rm -rf .snapcraft
.macos-common:
stage: build
tags:
- macmini
- vbox
variables: *variables-macos
macos:
extends: .macos-common
except:
- schedules
script: |
set -x
mkdir -p contrib/contrib-${_TRIPLET} && cd contrib/contrib-${_TRIPLET}
curl -f -L https://nightlies.videolan.org/build/${_NAME}/last/vlc-contrib-${_TRIPLET}-`date +%Y%m%d`.tar.bz2 -o vlc-contrib-${_TRIPLET}-latest.tar.bz2 || curl -f -L https://nightlies.videolan.org/build/${_NAME}/last/vlc-contrib-${_TRIPLET}-`date --date=yesterday +%Y%m%d`.tar.bz2 -o vlc-contrib-${_TRIPLET}-latest.tar.bz2
cd ../../
mkdir build
cd build
../extras/package/macosx/build.sh
make check || /usr/bin/true
macos-nightly:
<<: *nightly-common
extends: .macos-common
script: |
set -x
mkdir build
cd build
../extras/package/macosx/build.sh -c -p
make check || /usr/bin/true
ls -la
find . -maxdepth 1 -type f -name "vlc-*-dev*${_NAME}*" | xargs sha512sum | tee SHA512SUM
mv vlc-*.dmg $(ls vlc-*.dmg | sed -E "s/([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1-`date +%Y%m%d-%H%M`/")
echo /usr/local/bin/lftp -c "set ftp:use-allo false;open nightlies.videolan.org:65021;cd UploadQueue;mkdir -p macosx-intel/vlc-${_VLC_VERSION}-`date +%Y%m%d-%H%M`/; cd macosx-intel/vlc-${_VLC_VERSION}-`date +%Y%m%d-%H%M`; mput vlc-*.dmg; mput ../contrib/vlc-contrib-*.tar.bz2"
6752ecc096f8baf8e14e56f0d1f139e8a0d75967ab61bf1734ad5f4f4609a7cc707ab080f5f85f2230bbbb1454a0669be60a14d57d9a93aef553ce6f85f71613 qt-5.12.2.tar.xz
6752ecc096f8baf8e14e56f0d1f139e8a0d75967ab61bf1734ad5f4f4609a7cc707ab080f5f85f2230bbbb1454a0669be60a14d57d9a93aef553ce6f85f71613 qtbase-everywhere-src-5.12.2.tar.xz
......@@ -20,14 +20,13 @@ ifeq ($(call need_pkg,"Qt5Core >= 5.11 Qt5Gui Qt5Widgets"),)
PKGS_FOUND += qt
endif
$(TARBALLS)/qt-$(QT_VERSION_FULL).tar.xz:
$(TARBALLS)/qtbase-everywhere-src-$(QT_VERSION_FULL).tar.xz:
$(call download_pkg,$(QT_URL),qt)
.sum-qt: qt-$(QT_VERSION_FULL).tar.xz
.sum-qt: qtbase-everywhere-src-$(QT_VERSION_FULL).tar.xz
qt: qt-$(QT_VERSION_FULL).tar.xz .sum-qt
qt: qtbase-everywhere-src-$(QT_VERSION_FULL).tar.xz .sum-qt
$(UNPACK)
mv qtbase-everywhere-src-$(QT_VERSION_FULL) qt-$(QT_VERSION_FULL)
ifdef HAVE_WIN32
$(APPLY) $(SRC)/qt/0001-Windows-QPA-prefer-lower-value-when-rounding-fractio.patch
$(APPLY) $(SRC)/qt/0002-Windows-QPA-Disable-systray-notification-sounds.patch
......
0c0dd27acf452e72d70d214cf1960309a9282dc7f324214c734bb2e66e8f8279db0c3e0f61a431f6c70dc683467c2a17ad37b9c5d0aa75d7f82ae9d838918dd0 qtdeclarative-5.12.2.tar.xz
0c0dd27acf452e72d70d214cf1960309a9282dc7f324214c734bb2e66e8f8279db0c3e0f61a431f6c70dc683467c2a17ad37b9c5d0aa75d7f82ae9d838918dd0 qtdeclarative-everywhere-src-5.12.2.tar.xz
......@@ -14,14 +14,13 @@ ifeq ($(call need_pkg,"Qt5Quick"),)
PKGS_FOUND += qtdeclarative
endif
$(TARBALLS)/qtdeclarative-$(QTDECLARATIVE_VERSION).tar.xz:
$(TARBALLS)/qtdeclarative-everywhere-src-$(QTDECLARATIVE_VERSION).tar.xz:
$(call download_pkg,$(QTDECLARATIVE_URL),qt)
.sum-qtdeclarative: qtdeclarative-$(QTDECLARATIVE_VERSION).tar.xz
.sum-qtdeclarative: qtdeclarative-everywhere-src-$(QTDECLARATIVE_VERSION).tar.xz
qtdeclarative: qtdeclarative-$(QTDECLARATIVE_VERSION).tar.xz .sum-qtdeclarative
qtdeclarative: qtdeclarative-everywhere-src-$(QTDECLARATIVE_VERSION).tar.xz .sum-qtdeclarative
$(UNPACK)
mv qtdeclarative-everywhere-src-$(QTDECLARATIVE_VERSION) qtdeclarative-$(QTDECLARATIVE_VERSION)
$(MOVE)
.qtdeclarative: qtdeclarative
......
13ed4d5fd6004cef408e2ab0fc815ff8187813efe3836c9bca0eedd550ab06df85e30978b0adab74b0075ef8262ae49f182263add00f33820456c44349ea75af qtgraphicaleffects-5.12.2.tar.xz
13ed4d5fd6004cef408e2ab0fc815ff8187813efe3836c9bca0eedd550ab06df85e30978b0adab74b0075ef8262ae49f182263add00f33820456c44349ea75af qtgraphicaleffects-everywhere-src-5.12.2.tar.xz
......@@ -14,14 +14,13 @@ ifeq ($(call need_pkg,"Qt5QuickControls2"),)
PKGS_FOUND += qtgraphicaleffects
endif
$(TARBALLS)/qtgraphicaleffects-$(QTGE_VERSION).tar.xz:
$(TARBALLS)/qtgraphicaleffects-everywhere-src-$(QTGE_VERSION).tar.xz:
$(call download_pkg,$(QTGE_URL),qt)
.sum-qtgraphicaleffects: qtgraphicaleffects-$(QTGE_VERSION).tar.xz
.sum-qtgraphicaleffects: qtgraphicaleffects-everywhere-src-$(QTGE_VERSION).tar.xz
qtgraphicaleffects: qtgraphicaleffects-$(QTGE_VERSION).tar.xz .sum-qtgraphicaleffects
qtgraphicaleffects: qtgraphicaleffects-everywhere-src-$(QTGE_VERSION).tar.xz .sum-qtgraphicaleffects
$(UNPACK)
mv qtgraphicaleffects-everywhere-src-$(QTGE_VERSION) qtgraphicaleffects-$(QTGE_VERSION)
$(MOVE)
.qtgraphicaleffects: qtgraphicaleffects
......
ec8648a75f72425ebbf67ebf974c0c6aa2e94fe409c0a030fc36a8cbdaab68157aa12454ae9f0e723474a21d0b661a32cf971ac494e718859d36679bb9b43735 qtquickcontrols2-5.12.2.tar.xz
ec8648a75f72425ebbf67ebf974c0c6aa2e94fe409c0a030fc36a8cbdaab68157aa12454ae9f0e723474a21d0b661a32cf971ac494e718859d36679bb9b43735 qtquickcontrols2-everywhere-src-5.12.2.tar.xz
......@@ -15,14 +15,13 @@ endif
DEPS_qtquickcontrols2 = qtdeclarative $(DEPS_qtdeclarative)
$(TARBALLS)/qtquickcontrols2-$(QTQC2_VERSION).tar.xz:
$(TARBALLS)/qtquickcontrols2-everywhere-src-$(QTQC2_VERSION).tar.xz:
$(call download_pkg,$(QTQC2_URL),qt)
.sum-qtquickcontrols2: qtquickcontrols2-$(QTQC2_VERSION).tar.xz
.sum-qtquickcontrols2: qtquickcontrols2-everywhere-src-$(QTQC2_VERSION).tar.xz
qtquickcontrols2: qtquickcontrols2-$(QTQC2_VERSION).tar.xz .sum-qtquickcontrols2
qtquickcontrols2: qtquickcontrols2-everywhere-src-$(QTQC2_VERSION).tar.xz .sum-qtquickcontrols2
$(UNPACK)
mv qtquickcontrols2-everywhere-src-$(QTQC2_VERSION) qtquickcontrols2-$(QTQC2_VERSION)
$(MOVE)
.qtquickcontrols2: qtquickcontrols2
......
6dd7bce8d24aaeb9ec4ff4006381b03c86cbb818b38264be0a947e862b122f0ba82cd14888efedf26f2c67219058842af071851f19d4767371e14bc009439249 qtsvg-5.12.2.tar.xz
6dd7bce8d24aaeb9ec4ff4006381b03c86cbb818b38264be0a947e862b122f0ba82cd14888efedf26f2c67219058842af071851f19d4767371e14bc009439249 qtsvg-everywhere-src-5.12.2.tar.xz
......@@ -14,14 +14,13 @@ ifeq ($(call need_pkg,"Qt5Svg"),)
PKGS_FOUND += qtsvg
endif
$(TARBALLS)/qtsvg-$(QTSVG_VERSION).tar.xz:
$(TARBALLS)/qtsvg-everywhere-src-$(QTSVG_VERSION).tar.xz:
$(call download_pkg,$(QTSVG_URL),qt)
.sum-qtsvg: qtsvg-$(QTSVG_VERSION).tar.xz
.sum-qtsvg: qtsvg-everywhere-src-$(QTSVG_VERSION).tar.xz
qtsvg: qtsvg-$(QTSVG_VERSION).tar.xz .sum-qtsvg
qtsvg: qtsvg-everywhere-src-$(QTSVG_VERSION).tar.xz .sum-qtsvg
$(UNPACK)
mv qtsvg-everywhere-src-$(QTSVG_VERSION) qtsvg-$(QTSVG_VERSION)
$(APPLY) $(SRC)/qtsvg/0001-Force-the-usage-of-QtZlib-header.patch
$(MOVE)
......
#! /bin/sh
set -e
set -ex
VLC="./vlc --ignore-config --rc-fake-tty"
......