mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
b0f3ca8044
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
26 lines
373 B
Bash
Executable File
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
|