Update CI to run on Ubuntu 22.04. (#210)

* Update workflows to run on Ubuntu 22.04.

* Add a patch to fix Bahamut on Ubuntu 22.04.

Source: https://github.com/DALnet/bahamut/pull/219

* Add a patch to fix Charybdis on Ubuntu 22.04.
This commit is contained in:
Sadie Powell
2023-06-25 22:14:08 +01:00
committed by GitHub
parent 321e254d15
commit 4ee9c9c53a
7 changed files with 447 additions and 77 deletions

View File

@ -18,6 +18,7 @@ software:
separate_build_job: true
build_script: |
cd $GITHUB_WORKSPACE/charybdis/
patch -p1 < $GITHUB_WORKSPACE/patches/charybdis_ubuntu22.patch
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
@ -106,6 +107,7 @@ software:
cd $GITHUB_WORKSPACE/Bahamut/
patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch
patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch
echo "#undef THROTTLE_ENABLE" >> include/config.h
libtoolize --force
aclocal