Merge branch 'insp3' into master.

This commit is contained in:
Sadie Powell 2024-01-04 22:34:16 +00:00
commit 90391ed868
2 changed files with 10 additions and 11 deletions

View File

@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
path: irctest
ref: 59b2cd729b7785c3768e2ed8c4baa89472b45391
ref: 0ebfbdf6abdfe8e54dc054b2aedc7b8c478ee141
repository: progval/irctest
- name: Run configure
@ -46,7 +46,7 @@ jobs:
tar -czf artifacts-inspircd.tar.gz .local/
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: installed-inspircd-for-irctest
path: ~/artifacts-inspircd.tar.gz
@ -59,7 +59,7 @@ jobs:
- build
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: installed-inspircd-for-irctest
path: "~"
@ -73,7 +73,7 @@ jobs:
uses: actions/checkout@v4
with:
path: irctest
ref: 59b2cd729b7785c3768e2ed8c4baa89472b45391
ref: 0ebfbdf6abdfe8e54dc054b2aedc7b8c478ee141
repository: progval/irctest
- name: Install irctest dependencies
@ -83,23 +83,22 @@ jobs:
if: matrix.services == 'no services'
run: PATH=$HOME/.local/bin:$PATH make -C irctest/ inspircd
# Can't apt-get install Anope if we want Insp4 support
- name: Checkout Anope
if: matrix.services == 'anope'
uses: actions/checkout@v4
with:
path: anope
ref: 2.0.9
ref: 2.1.1
repository: anope/anope
- name: Build and install Anope
if: matrix.services == 'anope'
run: |
cd $GITHUB_WORKSPACE/anope/
cp $GITHUB_WORKSPACE/irctest/data/anope/* .
./Config -quick
make -C build --jobs $(($(getconf _NPROCESSORS_ONLN) + 1))
make -C build install
sudo apt-get install ninja-build --no-install-recommends
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/ -DPROGRAM_NAME=anope -GNinja ..
ninja install
- name: Run irctest (Anope services)
if: matrix.services == 'anope'

View File

@ -31,7 +31,7 @@ Building from source on Windows is generally not recommended but [a guide is ava
<!--
TODO: uncomment this once we have binary packages for v4.
If you are running on CentOS 7, Debian 11/12, Rocky Linux 8/9, Ubuntu 18.04/20.04/22.04, or Windows 8+ binary packages are available from [the downloads page](https://github.com/inspircd/inspircd/releases/latest).
If you are running on CentOS 7, Debian 11/12/13, Rocky Linux 8/9, Ubuntu 20.04/22.04, or Windows 8+ binary packages are available from [the downloads page](https://github.com/inspircd/inspircd/releases/latest).
A [Docker](https://www.docker.com) image is also available. See [the inspircd-docker repository](https://github.com/inspircd/inspircd-docker) for more information.
-->