mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 12:42:26 +00:00
Keep build workflow to build and test only
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
f863c73339
commit
d0b6f5f37a
35
.github/workflows/build.yaml
vendored
35
.github/workflows/build.yaml
vendored
@ -33,41 +33,6 @@ jobs:
|
||||
working-directory: ${{ github.workspace }}/build
|
||||
run: ./bin/tests
|
||||
|
||||
- name: Package linux binaries
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
install -d /tmp/package-bin
|
||||
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}"
|
||||
chmod +x "/tmp/package-bin/${bin}"
|
||||
done
|
||||
tar -czf "$GITHUB_WORKSPACE/eqemu-linux-bins.tgz" -C /tmp/package-bin .
|
||||
|
||||
- name: Smoke test linux binaries
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
mkdir -p /tmp/bin
|
||||
tar -xzf eqemu-linux-bins.tgz -C /tmp/bin
|
||||
for bin in world zone ucs loginserver queryserv shared_memory eqlaunch; do
|
||||
missing_libs="$(ldd "/tmp/bin/${bin}" | grep "not found" || true)"
|
||||
if [ -n "$missing_libs" ]; then
|
||||
echo "Missing shared libraries for ${bin}:"
|
||||
echo "$missing_libs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
/tmp/bin/world --help || { echo "'world --help' failed"; exit 1; }
|
||||
|
||||
- name: Upload linux binaries
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: linux-bins
|
||||
path: ${{ github.workspace }}/eqemu-linux-bins.tgz
|
||||
|
||||
windows:
|
||||
name: Windows
|
||||
runs-on: windows-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user