mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
8022accec7
fae75306bac4c82dd07a1b85ce5dfb020e052fe8 scripted-diff: Set gitian arch back to amd64 (MarcoFalke) Pull request description: This was required to allow gitian builds on non-amd64 architecture, however, it seems to break the current builds (with lxc), see https://github.com/bitcoin/bitcoin/pull/17409#issuecomment-554099626 Also, the gititan builds wouldn't be deterministic across arches anyway, see #17468 So instead of wasting more time on this, revert the change and hope that guix allows to compile on non-amd64 architectures. Top commit has no ACKs. Tree-SHA512: 801e9a30ae1b0882ef45d5eb3a3cf80f3ace3b99db046069dbd95b6162119e977e3cf3134287d1ac5d09483906206acc71e1ac34d6b74dbc533d46aaf73f5cc2
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
---
|
|
name: "dash-win-signer"
|
|
distro: "ubuntu"
|
|
suites:
|
|
- "bionic"
|
|
architectures:
|
|
- "amd64"
|
|
packages:
|
|
- "libssl-dev" # do not merge bitcoin#13782, see https://github.com/dashpay/dash/pull/3894
|
|
- "autoconf"
|
|
- "automake"
|
|
- "libtool"
|
|
- "pkg-config"
|
|
remotes:
|
|
- "url": "https://github.com/dashpay/dash-detached-sigs.git"
|
|
"dir": "signature"
|
|
files:
|
|
- "osslsigncode-2.0.tar.gz"
|
|
- "dashcore-win-unsigned.tar.gz"
|
|
script: |
|
|
set -e -o pipefail
|
|
|
|
BUILD_DIR="$PWD"
|
|
SIGDIR=${BUILD_DIR}/signature/win
|
|
UNSIGNED_DIR=${BUILD_DIR}/unsigned
|
|
|
|
echo "5a60e0a4b3e0b4d655317b2f12a810211c50242138322b16e7e01c6fbb89d92f osslsigncode-2.0.tar.gz" | sha256sum -c
|
|
|
|
mkdir -p ${UNSIGNED_DIR}
|
|
tar -C ${UNSIGNED_DIR} -xf dashcore-win-unsigned.tar.gz
|
|
|
|
tar xf osslsigncode-2.0.tar.gz
|
|
cd osslsigncode-2.0
|
|
|
|
./autogen.sh
|
|
./configure --without-gsf --without-curl --disable-dependency-tracking
|
|
make
|
|
find ${UNSIGNED_DIR} -name "*-unsigned.exe" | while read i; do
|
|
INFILE="$(basename "${i}")"
|
|
OUTFILE="${INFILE/-unsigned}"
|
|
./osslsigncode attach-signature -in "${i}" -out "${OUTDIR}/${OUTFILE}" -sigin "${SIGDIR}/${INFILE}.pem"
|
|
done
|