1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00
wine/tools/gitlab/build-linux
2023-02-08 17:32:30 +01:00

29 lines
546 B
Bash
Executable File

#!/bin/bash
echo "Building $(git log -1)"
echo "---"
set -Eeuxo pipefail
./tools/make_requests
./tools/make_makefiles
autoreconf -f
cd build64
../configure -q -C --enable-win64 --enable-werror --with-mingw
make -s -j$(nproc)
cd ..
cd build32
../configure -q -C --enable-werror --with-mingw
make -s -j$(nproc)
cd ..
if ! test -s .git/rebase-merge/git-rebase-todo
then
make -s -j$(nproc) -C build32 install-lib install-test DESTDIR=$BASEDIR
make -s -j$(nproc) -C build64 install-lib install-test DESTDIR=$BASEDIR
fi
git reset --hard