...
 
Commits (3)
......@@ -3,25 +3,21 @@ stages:
.variables-debian-amd64: &variables-debian-amd64
_NAME: debian-amd64
_NCPU: $(getconf _NPROCESSORS_ONLN)
.variables-win32: &variables-win32
_MACHINE: i686
_TRIPLET: ${_MACHINE}-w64-mingw32
_NAME: win32
_NCPU: $(getconf _NPROCESSORS_ONLN)
.variables-win64: &variables-win64
_MACHINE: x86_64
_TRIPLET: ${_MACHINE}-w64-mingw32
_NAME: win64
_NCPU: $(getconf _NPROCESSORS_ONLN)
.variables-win64-llvm: &variables-win64-llvm
_MACHINE: x86_64
_TRIPLET: ${_MACHINE}-w64-mingw32
_NAME: win64
_NCPU: $(getconf _NPROCESSORS_ONLN)
WINE_SDK_PATH: /usr/include/wine/wine/windows/
.variables-macos: &variables-macos
......@@ -38,6 +34,8 @@ stages:
- 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
......@@ -76,18 +74,17 @@ stages:
script: |
set -x
extras/package/win32/build.sh -l -c -a ${_MACHINE} -i n
export JENKINS_VLC_VERSION=`fgrep AC_INIT configure.ac | cut -d\[ -f 3 | cut -d- -f 1`
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-$JENKINS_VLC_VERSION-`date +%Y%m%d-%H%M`/; cd {$_NAME}/vlc-$JENKINS_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"
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:
......@@ -114,7 +111,7 @@ win64-llvm-nightly:
extends: .win-nightly
image:
name: registry.videolan.org/vlc-debian-llvm-mingw:20190408173634
entrypoint: ['bash', '-c', 'exec su -l jenkins -c bash']
entrypoint: ['bash', '-c', 'exec su -l videolan -c bash']
variables: *variables-win64-llvm
.debian-common:
......@@ -123,6 +120,8 @@ win64-llvm-nightly:
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
......@@ -159,6 +158,7 @@ debian-amd64-nightly-source:
<<: *nightly-common
extends: .debian-common
script: |
set -x
./bootstrap
mkdir build && cd build
../configure
......@@ -214,8 +214,7 @@ macos-nightly:
cd build
../extras/package/macosx/build.sh -c -p
make check || /usr/bin/true
export JENKINS_VLC_VERSION=`fgrep AC_INIT ../configure.ac | cut -d\[ -f 3 | cut -d- -f 1`
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-$JENKINS_VLC_VERSION-`date +%Y%m%d-%H%M`/; cd macosx-intel/vlc-$JENKINS_VLC_VERSION-`date +%Y%m%d-%H%M`; mput vlc-*.dmg; mput ../contrib/vlc-contrib-*.tar.bz2"
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"