mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
This required bumping wine since the ucrt bits we needed are not in the old version of wine we were using. --HG-- rename : taskcluster/scripts/misc/build-mingw32-fxc2.sh => taskcluster/scripts/misc/build-mingw-fxc2-x86.sh
33 lines
652 B
Bash
Executable file
33 lines
652 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
|
|
|
|
root_dir=$HOME_DIR
|
|
data_dir=$HOME_DIR/src/build/unix/build-gcc
|
|
|
|
. $data_dir/download-tools.sh
|
|
|
|
cd $WORKSPACE
|
|
|
|
# --------------
|
|
$GPG --import $data_dir/DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D.key
|
|
download_and_check http://dl.winehq.org/wine/source/3.0/ wine-3.0.3.tar.xz.sign
|
|
tar xaf $TMPDIR/wine-3.0.3.tar.xz
|
|
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
|