1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00
wine/tools/gitlab/build-linux
2022-09-08 21:48:33 +02:00

28 lines
549 B
Bash
Executable file

#!/bin/bash
echo "Building $(git log -1)"
echo "---"
set -Eeuxo pipefail
./tools/make_requests
./tools/make_makefiles
autoreconf
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
git reset --hard
else
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