Skip to content

Commit

Permalink
[Gitian] Bump gitian build versions
Browse files Browse the repository at this point in the history
Bumps the gitian build versions to 3.3, which should have been done
right after 3.2 was branched off.

At the same time, update to python3 explicitly and allow for some better
 error reporting.
  • Loading branch information
Fuzzbawls committed Jun 10, 2019
1 parent 68c81c4 commit 55127d1
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
11 changes: 7 additions & 4 deletions contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: "pivx-linux-3.2"
name: "pivx-linux-3.3"
enable_cache: true
distro: "ubuntu"
suites:
- "bionic"
architectures:
Expand Down Expand Up @@ -30,12 +31,13 @@ packages:
- "faketime"
- "bsdmainutils"
- "ca-certificates"
- "python"
- "python3"
remotes:
- "url": "https://github.com/pivx-project/pivx.git"
"dir": "pivx"
files: []
script: |
set -e -o pipefail
WRAP_DIR=$HOME/wrapped
HOSTS="i686-pc-linux-gnu x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu"
Expand Down Expand Up @@ -179,8 +181,9 @@ script: |
find . -name "lib*.la" -delete
find . -name "lib*.a" -delete
rm -rf ${DISTNAME}/lib/pkgconfig
find ${DISTNAME}/bin -type f -executable -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \;
# find ${DISTNAME}/lib -type f -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \;
find ${DISTNAME}/bin -type f -executable -print0 | xargs -0 -n1 -I{} ../contrib/devtools/split-debug.sh {} {} {}.dbg
#find ${DISTNAME}/lib -type f -print0 | xargs -0 -n1 -I{} ../contrib/devtools/split-debug.sh {} {} {}.dbg
cp ../doc/README.md ${DISTNAME}/
find ${DISTNAME} -not -name "*.dbg" | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}.tar.gz
find ${DISTNAME} -name "*.dbg" | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}-debug.tar.gz
cd ../../
Expand Down
3 changes: 3 additions & 0 deletions contrib/gitian-descriptors/gitian-osx-signer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: "pivx-dmg-signer"
distro: "ubuntu"
suites:
- "bionic"
architectures:
Expand All @@ -12,6 +13,8 @@ remotes:
files:
- "pivx-osx-unsigned.tar.gz"
script: |
set -e -o pipefail
WRAP_DIR=$HOME/wrapped
mkdir -p ${WRAP_DIR}
export PATH=`pwd`:$PATH
Expand Down
11 changes: 7 additions & 4 deletions contrib/gitian-descriptors/gitian-osx.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: "pivx-osx-3.2"
name: "pivx-osx-3.3"
enable_cache: true
distro: "ubuntu"
suites:
- "bionic"
architectures:
Expand All @@ -23,16 +24,18 @@ packages:
- "libcap-dev"
- "libz-dev"
- "libbz2-dev"
- "python"
- "python-dev"
- "python-setuptools"
- "python3"
- "python3-dev"
- "python3-setuptools"
- "fonts-tuffy"
remotes:
- "url": "https://github.com/pivx-project/pivx.git"
"dir": "pivx"
files:
- "MacOSX10.11.sdk.tar.gz"
script: |
set -e -o pipefail
WRAP_DIR=$HOME/wrapped
HOSTS="x86_64-apple-darwin14"
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage"
Expand Down
3 changes: 3 additions & 0 deletions contrib/gitian-descriptors/gitian-win-signer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: "pivx-win-signer"
distro: "ubuntu"
suites:
- "bionic"
architectures:
Expand All @@ -16,6 +17,8 @@ files:
- "osslsigncode-Backports-to-1.7.1.patch"
- "pivx-win-unsigned.tar.gz"
script: |
set -e -o pipefail
BUILD_DIR=`pwd`
SIGDIR=${BUILD_DIR}/signature/win
UNSIGNED_DIR=${BUILD_DIR}/unsigned
Expand Down
7 changes: 5 additions & 2 deletions contrib/gitian-descriptors/gitian-win.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: "pivx-win-3.2"
name: "pivx-win-3.3"
enable_cache: true
distro: "ubuntu"
suites:
- "bionic"
architectures:
Expand All @@ -20,13 +21,15 @@ packages:
- "nsis"
- "zip"
- "ca-certificates"
- "python"
- "python3"
- "rename"
remotes:
- "url": "https://github.com/pivx-project/pivx.git"
"dir": "pivx"
files: []
script: |
set -e -o pipefail
WRAP_DIR=$HOME/wrapped
HOSTS="i686-w64-mingw32 x86_64-w64-mingw32"
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests"
Expand Down

0 comments on commit 55127d1

Please sign in to comment.