wine/tools/gitlab/build-linux
Jinoh Kang b527b232cf tools/gitlab: Run make_specfiles before building.
Since wine commit 401288a78d (make_specfiles: Generate a list of
syscalls from the corresponding spec files., 2023-11-16), spec files
are used to auto-generate the following files:

- dlls/ntdll/ntsyscalls.h (from dlls/ntdll/ntdll.spec)
- dlls/win32u/win32syscalls.h (from dlls/win32u/win32u.spec)
2024-03-11 18:46:09 +01:00

30 lines
569 B
Bash
Executable file

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