fune/taskcluster/scripts/misc/build-wine.sh
Mike Hommey 9ef9a07ff2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 23:46:51 +00:00

29 lines
640 B
Bash
Executable file

#!/bin/bash
set -x -e -v
WORKSPACE=$HOME/workspace
INSTALL_DIR=$WORKSPACE/wine
mkdir -p $INSTALL_DIR
mkdir -p $WORKSPACE/build/wine
mkdir -p $WORKSPACE/build/wine64
cd $WORKSPACE/build/wine64
$MOZ_FETCHES_DIR/wine-source/configure --enable-win64 --without-x --without-freetype --prefix=$INSTALL_DIR/
make -j$(nproc)
cd $WORKSPACE/build/wine
$MOZ_FETCHES_DIR/wine-source/configure --with-wine64=../wine64 --without-x --without-freetype --prefix=$INSTALL_DIR/
make -j$(nproc)
make install
cd $WORKSPACE/build/wine64
make install
# --------------
cd $WORKSPACE/
tar caf wine.tar.zst wine
mkdir -p $UPLOAD_DIR
cp wine.tar.* $UPLOAD_DIR