dosemu2/ci_build.sh
geos_one 17bb5d7efa
Some checks failed
Build / build (push) Has been cancelled
New upstream version 2.0-0.9
2025-08-14 09:28:49 +02:00

34 lines
825 B
Bash
Executable File

#!/bin/sh
set -e
LOCALFDPP="localfdpp.git"
LOCALFDPPINST="$(pwd)/localfdpp"
FDPPBRANCH=""
test -d ${LOCALFDPP} && exit 1
git clone --depth 1 --no-single-branch https://github.com/dosemu2/fdpp.git ${LOCALFDPP}
(
cd ${LOCALFDPP} || exit 2
[ -z "$FDPPBRANCH" ] || git checkout "$FDPPBRANCH"
git config user.email "cibuild@example.com"
git config user.name "CI build"
git tag tmp -m "make git-describe happy"
echo "DEBUG_MODE = 1" > local.mak
echo "EXTRA_DEBUG = 1" >> local.mak
echo "USE_UBSAN = 1" >> local.mak
make clean all install PREFIX=${LOCALFDPPINST}
)
export PKG_CONFIG_PATH=${LOCALFDPPINST}/lib/pkgconfig
./default-configure -d
make
# Install the FAT mount helper
sudo cp test/dosemu_fat_mount.sh /bin/.
sudo chown root.root /bin/dosemu_fat_mount.sh
sudo chmod 755 /bin/dosemu_fat_mount.sh