mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 16:52:25 +00:00
Improve workflow smoke test checks
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
94524416a7
commit
aa867a8fb3
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -32,6 +32,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
install -d /tmp/package-bin
|
install -d /tmp/package-bin
|
||||||
for bin in world zone ucs loginserver queryserv shared_memory eqlaunch; do
|
for bin in world zone ucs loginserver queryserv shared_memory eqlaunch; do
|
||||||
|
if [ ! -f "build/bin/${bin}" ]; then
|
||||||
|
echo "Missing binary: ${bin}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
cp "build/bin/${bin}" "/tmp/package-bin/${bin}"
|
cp "build/bin/${bin}" "/tmp/package-bin/${bin}"
|
||||||
chmod +x "/tmp/package-bin/${bin}"
|
chmod +x "/tmp/package-bin/${bin}"
|
||||||
done
|
done
|
||||||
@ -42,8 +46,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/bin
|
mkdir -p /tmp/bin
|
||||||
tar -xzf eqemu-linux-bins.tgz -C /tmp/bin
|
tar -xzf eqemu-linux-bins.tgz -C /tmp/bin
|
||||||
if ldd /tmp/bin/world | grep -q "not found"; then
|
missing_libs="$(ldd /tmp/bin/world | grep "not found" || true)"
|
||||||
echo "Missing shared libraries"
|
if [ -n "$missing_libs" ]; then
|
||||||
|
echo "Missing shared libraries:"
|
||||||
|
echo "$missing_libs"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
/tmp/bin/world --help
|
/tmp/bin/world --help
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user