mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 14:59:49 +00:00
inspircd: Use upstream mainloop hack when available (#200)
This commit is contained in:
8
.github/workflows/test-stable.yml
vendored
8
.github/workflows/test-stable.yml
vendored
@ -189,9 +189,13 @@ jobs:
|
||||
- name: Build InspIRCd
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/inspircd/
|
||||
patch src/inspircd.cpp < $GITHUB_WORKSPACE/patches/inspircd_mainloop.patch
|
||||
|
||||
# Insp3 <= 3.16.0 and Insp4 <= 4.0.0a21 don't support -DINSPIRCD_UNLIMITED_MAINLOOP
|
||||
patch src/inspircd.cpp < $GITHUB_WORKSPACE/patches/inspircd_mainloop.patch || true
|
||||
|
||||
./configure --prefix=$HOME/.local/inspircd --development
|
||||
make -j 4
|
||||
|
||||
CXXFLAGS=-DINSPIRCD_UNLIMITED_MAINLOOP make -j 4
|
||||
make install
|
||||
- name: Make artefact tarball
|
||||
run: cd ~; tar -czf artefacts-inspircd.tar.gz .local/ go/
|
||||
|
Reference in New Issue
Block a user