gecko-dev/taskcluster/scripts/misc/build-wine.sh
Mike Hommey b0f3ca8044 Bug 1490573 - Use fetches for nsis and wine toolchain tasks. r=froydnj
These toolchain tasks are the last ones using the historical
download-tools script from build/unix/build-gcc, which invokes gpg to
validate the downloaded tarballs. The consequence is that gpg-agent is
spawned and stays running, preventing a cleanup script from doing its
job, making the tasks fail.

Fetches are the new way to download sources, and can also do gpg
validation without those caveats.

The download-tools.sh script can then be removed as it's not used
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D22682

--HG--
extra : moz-landing-system : lando
2019-03-11 01:38:46 +00:00

26 lines
373 B
Bash
Executable File

#!/bin/bash
set -x -e -v
WORKSPACE=$HOME/workspace
HOME_DIR=$WORKSPACE/build
INSTALL_DIR=$WORKSPACE/wine
UPLOAD_DIR=$HOME/artifacts
mkdir -p $INSTALL_DIR
cd $HOME_DIR
# --------------
cd wine-3.0.3
./configure --prefix=$INSTALL_DIR/
make -j$(nproc)
make install
# --------------
cd $WORKSPACE/
tar caf wine.tar.xz wine
mkdir -p $UPLOAD_DIR
cp wine.tar.* $UPLOAD_DIR