2021-07-04 21:12:26 +00:00
# This file was auto-generated by make_workflows.py.
# Do not edit it manually, modifications will be lost.
jobs :
2021-07-07 19:05:14 +00:00
build-anope :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:05:14 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
2022-09-10 12:53:20 +00:00
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-08-09 18:42:36 +00:00
with :
2022-09-10 12:53:20 +00:00
key : 3 -${{ runner.os }}-anope-stable
2021-08-09 18:42:36 +00:00
path : '~/.cache
2022-09-10 12:53:20 +00:00
${ github.workspace }/anope
2021-08-09 18:42:36 +00:00
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2022-09-10 12:53:20 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Checkout Anope
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-07 19:05:14 +00:00
with :
path : anope
ref : 2.0 .9
repository : anope/anope
- name : Build Anope
2022-09-10 12:53:20 +00:00
run : |
2021-07-07 19:05:14 +00:00
cd $GITHUB_WORKSPACE/anope/
cp $GITHUB_WORKSPACE/data/anope/* .
CFLAGS=-O0 ./Config -quick
make -C build -j 4
make -C build install
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-anope.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-anope
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-08-08 22:30:08 +00:00
build-bahamut :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-08 22:30:08 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-08-08 22:30:08 +00:00
with :
key : 3 -${{ runner.os }}-bahamut-stable
path : '~/.cache
${ github.workspace }/Bahamut
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-08 22:30:08 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-08-08 22:30:08 +00:00
- name : Checkout Bahamut
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-08-08 22:30:08 +00:00
with :
path : Bahamut
2022-03-19 20:39:26 +00:00
ref : v2.2.1
2021-08-08 22:30:08 +00:00
repository : DALnet/Bahamut
- name : Build Bahamut
run : |
cd $GITHUB_WORKSPACE/Bahamut/
2022-03-19 19:20:50 +00:00
patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch
2022-06-18 11:14:51 +00:00
patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch
2023-07-10 18:17:01 +00:00
# <= v2.2.2
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch || true
2021-08-13 20:53:42 +00:00
echo "#undef THROTTLE_ENABLE" >> include/config.h
2021-08-08 22:30:08 +00:00
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing || true
autoreconf
./configure --prefix=$HOME/.local/
make -j 4
make install
mkdir -p $HOME/.local/bin/
cp $HOME/.local/ircd $HOME/.local/bin/ircd
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-bahamut.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-08 22:30:08 +00:00
with :
name : installed-bahamut
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-07-07 19:05:14 +00:00
build-charybdis :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:05:14 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-07-07 19:05:14 +00:00
with :
2021-08-09 18:42:36 +00:00
key : 3 -${{ runner.os }}-charybdis-stable
path : '~/.cache
${ github.workspace }/charybdis
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 19:05:14 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Checkout Charybdis
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-07 19:05:14 +00:00
with :
path : charybdis
ref : charybdis-4.1.2
repository : charybdis-ircd/charybdis
- name : Build Charybdis
run : |
cd $GITHUB_WORKSPACE/charybdis/
2023-06-25 21:14:08 +00:00
patch -p1 < $GITHUB_WORKSPACE/patches/charybdis_ubuntu22.patch
2021-07-07 19:05:14 +00:00
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-charybdis.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-charybdis
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-07-10 14:33:32 +00:00
build-hybrid :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-10 14:33:32 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-07-10 14:33:32 +00:00
with :
2021-08-09 18:42:36 +00:00
key : 3 -${{ runner.os }}-hybrid-stable
path : '~/.cache
${ github.workspace }/ircd-hybrid
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-10 14:33:32 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-07-10 14:33:32 +00:00
- name : Checkout Hybrid
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-10 14:33:32 +00:00
with :
path : ircd-hybrid
2022-03-19 20:39:26 +00:00
ref : 8.2 .39
2021-07-10 14:33:32 +00:00
repository : ircd-hybrid/ircd-hybrid
- name : Build Hybrid
run : |
cd $GITHUB_WORKSPACE/ircd-hybrid/
./configure --prefix=$HOME/.local/
make -j 4
make install
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-hybrid.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-10 14:33:32 +00:00
with :
name : installed-hybrid
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-07-07 19:05:14 +00:00
build-inspircd :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:05:14 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 19:05:14 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Checkout InspIRCd
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-07 19:05:14 +00:00
with :
path : inspircd
2023-04-17 16:45:50 +00:00
ref : v3.15.0
2021-07-07 19:05:14 +00:00
repository : inspircd/inspircd
- name : Build InspIRCd
run : |
cd $GITHUB_WORKSPACE/inspircd/
2023-05-20 18:06:59 +00:00
# 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
2021-07-07 19:05:14 +00:00
./configure --prefix=$HOME/.local/inspircd --development
2023-05-20 18:06:59 +00:00
CXXFLAGS=-DINSPIRCD_UNLIMITED_MAINLOOP make -j 4
2021-07-07 19:05:14 +00:00
make install
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-inspircd.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-inspircd
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-09-05 15:16:13 +00:00
build-ngircd :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-09-05 15:16:13 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-09-05 15:16:13 +00:00
with :
key : 3 -${{ runner.os }}-ngircd-stable
path : '~/.cache
${ github.workspace }/ngircd
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-09-05 15:16:13 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-09-05 15:16:13 +00:00
- name : Checkout ngircd
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-09-05 15:16:13 +00:00
with :
path : ngircd
2023-09-18 18:31:50 +00:00
ref : 0714466af88d71d6c395629cd7fb624b099507d4
2021-09-05 15:16:13 +00:00
repository : ngircd/ngircd
- name : Build ngircd
run : |
cd $GITHUB_WORKSPACE/ngircd
2022-03-19 19:20:50 +00:00
patch src/ngircd/client.c < $GITHUB_WORKSPACE/patches/ngircd_whowas_delay.patch
2021-09-05 15:16:13 +00:00
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-ngircd.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-09-05 15:16:13 +00:00
with :
name : installed-ngircd
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-08-08 18:46:33 +00:00
build-plexus4 :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-08 18:46:33 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-08-08 18:46:33 +00:00
with :
2021-08-09 18:42:36 +00:00
key : 3 -${{ runner.os }}-plexus4-stable
path : '~/.cache
${ github.workspace }/placeholder
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-08 18:46:33 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-08-08 18:46:33 +00:00
- name : clone
2022-03-19 20:39:26 +00:00
run : 'curl https://gitlab.com/rizon/plexus4/-/archive/20211115_0-611/plexus4-20211115_0-611.tar
| tar -x
2021-08-08 18:46:33 +00:00
2022-03-19 20:39:26 +00:00
mv plexus* plexus4'
2021-08-08 18:46:33 +00:00
- name : build
run : 'cd $GITHUB_WORKSPACE/plexus4
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install'
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-plexus4.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-08 18:46:33 +00:00
with :
name : installed-plexus4
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-07-07 19:05:14 +00:00
build-solanum :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:05:14 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-07-07 19:05:14 +00:00
with :
2021-08-09 18:42:36 +00:00
key : 3 -${{ runner.os }}-solanum-stable
path : '~/.cache
${ github.workspace }/solanum
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 19:05:14 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Checkout Solanum
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-07 19:05:14 +00:00
with :
path : solanum
2022-03-19 20:39:26 +00:00
ref : 492d560ee13e71dc35403fd676e58c2d5bdcf2a9
2021-07-07 19:05:14 +00:00
repository : solanum-ircd/solanum
- name : Build Solanum
run : |
cd $GITHUB_WORKSPACE/solanum/
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-solanum.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-solanum
path : ~/artefacts-*.tar.gz
retention-days : 1
build-unrealircd :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:05:14 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-07-07 19:05:14 +00:00
with :
2021-08-09 18:42:36 +00:00
key : 3 -${{ runner.os }}-unrealircd-stable
path : '~/.cache
${ github.workspace }/unrealircd
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 19:05:14 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-12-18 23:45:51 +00:00
- name : Checkout UnrealIRCd 6
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-07 19:05:14 +00:00
with :
path : unrealircd
2023-04-05 06:24:34 +00:00
ref : da3c1c654481a33035b9c703957e1c25d0158259
2021-07-07 19:05:14 +00:00
repository : unrealircd/unrealircd
2021-12-18 23:45:51 +00:00
- name : Build UnrealIRCd 6
2021-07-07 19:05:14 +00:00
run : |
cd $GITHUB_WORKSPACE/unrealircd/
cp $GITHUB_WORKSPACE/data/unreal/* .
# Need to use a specific -march, because GitHub has inconsistent
# architectures across workers, which result in random SIGILL with some
# worker combinations
sudo apt install libsodium-dev libargon2-dev
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
make -j 4
make install
2022-04-13 18:19:07 +00:00
# Prevent download of geoIP database on first startup
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
2021-07-07 19:05:14 +00:00
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-unrealircd
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-12-18 23:45:51 +00:00
build-unrealircd-5 :
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-12-18 23:45:51 +00:00
steps :
- name : Create directories
run : cd ~/; mkdir -p .local/ go/
- name : Cache dependencies
2023-05-20 11:32:42 +00:00
uses : actions/cache@v3
2021-12-18 23:45:51 +00:00
with :
key : 3 -${{ runner.os }}-unrealircd-5-stable
path : '~/.cache
${ github.workspace }/unrealircd
'
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-11 18:24:26 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-12-18 23:45:51 +00:00
with :
2023-08-11 18:24:26 +00:00
python-version : 3.11
2021-12-18 23:45:51 +00:00
- name : Checkout UnrealIRCd 5
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-12-18 23:45:51 +00:00
with :
path : unrealircd
2022-03-19 20:39:26 +00:00
ref : 6604856973f713a494f83d38992d7d61ce6b9db4
2021-12-18 23:45:51 +00:00
repository : unrealircd/unrealircd
- name : Build UnrealIRCd 5
run : |
cd $GITHUB_WORKSPACE/unrealircd/
cp $GITHUB_WORKSPACE/data/unreal/* .
# Need to use a specific -march, because GitHub has inconsistent
# architectures across workers, which result in random SIGILL with some
# worker combinations
sudo apt install libsodium-dev libargon2-dev
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
make -j 4
make install
2022-04-13 18:19:07 +00:00
# Prevent download of geoIP database on first startup
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
2021-12-18 23:45:51 +00:00
- name : Make artefact tarball
run : cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/
- name : Upload build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-12-18 23:45:51 +00:00
with :
name : installed-unrealircd-5
path : ~/artefacts-*.tar.gz
retention-days : 1
2021-07-04 21:12:26 +00:00
publish-test-results :
if : success() || failure()
2022-04-10 08:40:39 +00:00
name : Publish Dashboard
2021-07-04 21:12:26 +00:00
needs :
2021-08-08 22:30:08 +00:00
- test-bahamut
- test-bahamut-anope
- test-bahamut-atheme
2021-07-04 21:12:26 +00:00
- test-charybdis
- test-ergo
2021-07-10 14:33:32 +00:00
- test-hybrid
2021-07-04 21:12:26 +00:00
- test-inspircd
2021-07-07 13:06:00 +00:00
- test-inspircd-anope
2021-07-07 19:51:31 +00:00
- test-inspircd-atheme
2021-08-10 16:42:37 +00:00
- test-irc2
2021-08-10 16:47:54 +00:00
- test-ircu2
2021-07-04 21:12:26 +00:00
- test-limnoria
2022-04-10 09:37:35 +00:00
- test-nefarious
2021-09-05 15:16:13 +00:00
- test-ngircd
- test-ngircd-anope
- test-ngircd-atheme
2021-08-08 18:46:33 +00:00
- test-plexus4
2023-09-21 07:18:23 +00:00
- test-sable
2021-07-07 19:51:31 +00:00
- test-solanum
2021-07-04 21:12:26 +00:00
- test-sopel
2023-05-29 07:50:31 +00:00
- test-thelounge
2021-07-07 19:51:31 +00:00
- test-unrealircd
2021-12-18 23:45:51 +00:00
- test-unrealircd-5
2021-07-07 19:51:31 +00:00
- test-unrealircd-anope
- test-unrealircd-atheme
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2021-07-04 21:12:26 +00:00
- name : Download Artifacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-04 21:12:26 +00:00
with :
path : artifacts
2022-04-10 08:40:39 +00:00
- name : Install dashboard dependencies
run : |-
python -m pip install --upgrade pip
2022-04-10 13:07:15 +00:00
pip install defusedxml docutils -r requirements.txt
2022-04-10 08:40:39 +00:00
- name : Generate dashboard
run : |-
shopt -s globstar
python3 -m irctest.dashboard.format dashboard/ artifacts/**/*.xml
echo '/ /index.xhtml' > dashboard/_redirects
- name : Install netlify-cli
run : npm i -g netlify-cli
- env :
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
name : Deploy to Netlify
run : ./.github/deploy_to_netlify.py
2021-08-08 22:30:08 +00:00
test-bahamut :
needs :
- build-bahamut
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-08 22:30:08 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-08 22:30:08 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-08-08 22:30:08 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-08-08 22:30:08 +00:00
with :
name : installed-bahamut
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-08-08 22:30:08 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-08-08 22:30:08 +00:00
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
bahamut
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-08-08 22:30:08 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-08 22:30:08 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_bahamut_stable
2021-08-08 22:30:08 +00:00
path : pytest.xml
test-bahamut-anope :
needs :
- build-bahamut
- build-anope
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-08 22:30:08 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-08 22:30:08 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-08-08 22:30:08 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-08-08 22:30:08 +00:00
with :
name : installed-bahamut
path : '~'
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-08-08 22:30:08 +00:00
with :
name : installed-anope
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-08-08 22:30:08 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-08-08 22:30:08 +00:00
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
bahamut-anope
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-08-08 22:30:08 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-08 22:30:08 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_bahamut-anope_stable
2021-08-08 22:30:08 +00:00
path : pytest.xml
test-bahamut-atheme :
needs :
- build-bahamut
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-08 22:30:08 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-08 22:30:08 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-08-08 22:30:08 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-08-08 22:30:08 +00:00
with :
name : installed-bahamut
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-08-08 22:30:08 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-08-08 22:30:08 +00:00
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
bahamut-atheme
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-08-08 22:30:08 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-08 22:30:08 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_bahamut-atheme_stable
2021-08-08 22:30:08 +00:00
path : pytest.xml
2021-07-04 21:12:26 +00:00
test-charybdis :
2021-07-07 19:05:14 +00:00
needs :
- build-charybdis
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2021-07-07 19:05:14 +00:00
name : installed-charybdis
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-04 21:12:26 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2021-07-07 19:05:14 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
charybdis
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_charybdis_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
test-ergo :
2021-07-07 19:05:14 +00:00
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-04 21:12:26 +00:00
- name : Checkout Ergo
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-07-04 21:12:26 +00:00
with :
path : ergo
ref : irctest_stable
repository : ergochat/ergo
2021-07-07 19:05:14 +00:00
- uses : actions/setup-go@v2
with :
2023-08-16 18:12:54 +00:00
go-version : ^1.21.0
2021-07-07 19:05:14 +00:00
- run : go version
2021-07-04 21:12:26 +00:00
- name : Build Ergo
run : |
cd $GITHUB_WORKSPACE/ergo/
make build
make install
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/go/sbin:~/go/bin:~/go:$PATH
2021-07-07 19:05:14 +00:00
make ergo
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_ergo_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
2021-07-10 14:33:32 +00:00
test-hybrid :
needs :
- build-hybrid
2021-11-20 11:15:07 +00:00
- build-anope
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-10 14:33:32 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-10 14:33:32 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-10 14:33:32 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-10 14:33:32 +00:00
with :
name : installed-hybrid
path : '~'
2021-11-20 11:15:07 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-11-20 11:15:07 +00:00
with :
name : installed-anope
path : '~'
2021-07-10 14:33:32 +00:00
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-10 14:33:32 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-10 14:33:32 +00:00
- name : Test with pytest
2021-11-20 11:15:07 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
2021-07-10 14:33:32 +00:00
hybrid
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-10 14:33:32 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-10 14:33:32 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_hybrid_stable
2021-07-10 14:33:32 +00:00
path : pytest.xml
2021-07-04 21:12:26 +00:00
test-inspircd :
2021-07-07 19:05:14 +00:00
needs :
- build-inspircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-inspircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-04 21:12:26 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH
2021-07-07 19:05:14 +00:00
make inspircd
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_inspircd_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
2021-07-07 13:06:00 +00:00
test-inspircd-anope :
2021-07-07 19:05:14 +00:00
needs :
- build-inspircd
- build-anope
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 13:06:00 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 13:06:00 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 13:06:00 +00:00
with :
2021-07-07 19:05:14 +00:00
name : installed-inspircd
path : '~'
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 13:06:00 +00:00
with :
2021-07-07 19:05:14 +00:00
name : installed-anope
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-07 13:06:00 +00:00
run : |-
2021-07-07 19:05:14 +00:00
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-07 13:06:00 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make
2021-07-07 13:06:00 +00:00
inspircd-anope
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-07 13:06:00 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 13:06:00 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_inspircd-anope_stable
2021-07-07 13:06:00 +00:00
path : pytest.xml
2021-07-07 19:08:40 +00:00
test-inspircd-atheme :
needs :
- build-inspircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:08:40 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 19:08:40 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:08:40 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 19:08:40 +00:00
with :
name : installed-inspircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:08:40 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-07 19:08:40 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH
2021-07-07 19:08:40 +00:00
make inspircd-atheme
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-07 19:08:40 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:08:40 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_inspircd-atheme_stable
2021-07-07 19:08:40 +00:00
path : pytest.xml
2021-08-10 16:42:37 +00:00
test-irc2 :
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-10 16:42:37 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-10 16:42:37 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2022-04-26 20:29:22 +00:00
- name : Checkout irc2
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2022-04-26 20:29:22 +00:00
with :
path : irc2.11.2p3
ref : 59649f24c3a5c27bad5648b48774f27475bccfd3
repository : irc-archive/irc2-mirror
- name : Build irc2
run : |
# Configure
cd $GITHUB_WORKSPACE/irc2.11.2p3
2021-08-10 16:42:37 +00:00
./configure --prefix=$HOME/.local/
cd x86*
echo "#define CMDLINE_CONFIG/" >> config.h
echo "#define DEFAULT_SPLIT_USERS 0" >> config.h
echo "#define DEFAULT_SPLIT_SERVERS 0" >> config.h
#echo "#undef LIST_ALIS_NOTE" >> config.h
# TODO: find a better way to make it not fork...
2022-04-26 20:29:22 +00:00
echo "#define fork() (0)" >> config.h
2021-08-10 16:42:37 +00:00
2022-04-26 20:29:22 +00:00
# Compile and install
cd $GITHUB_WORKSPACE/irc2.11.2p3/x86*
2021-08-10 16:42:37 +00:00
make -j 4 all
make install
mkdir -p $HOME/.local/bin
2022-04-26 20:29:22 +00:00
cp $HOME/.local/sbin/ircd $HOME/.local/bin/ircd
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-08-10 16:42:37 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
irc2
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-08-10 16:42:37 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-10 16:42:37 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_irc2_stable
2021-08-10 16:42:37 +00:00
path : pytest.xml
2021-08-10 16:47:54 +00:00
test-ircu2 :
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-10 16:47:54 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-10 16:47:54 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-08-10 16:47:54 +00:00
- name : Checkout ircu2
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2021-08-10 16:47:54 +00:00
with :
path : ircu2
ref : u2.10.12.19
repository : undernetirc/ircu2
- name : Build ircu2
run : |
cd $GITHUB_WORKSPACE/ircu2
# We need --with-maxcon, to set MAXCONNECTIONS so that it's much lower than
# NN_MAX_CLIENT, or ircu2 crashes with a somewhat cryptic error on startup.
./configure --prefix=$HOME/.local/ --with-maxcon=1024 --enable-debug
make -j 4
make install
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-08-10 16:47:54 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
ircu2
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-08-10 16:47:54 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-10 16:47:54 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_ircu2_stable
2021-08-10 16:47:54 +00:00
path : pytest.xml
2021-07-04 21:12:26 +00:00
test-limnoria :
2021-07-07 19:05:14 +00:00
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-04 21:12:26 +00:00
- name : Install dependencies
2023-05-29 09:53:08 +00:00
run : pip install limnoria==2023.5.27 cryptography pyxmpp2-scram
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-04 21:12:26 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2021-07-07 19:05:14 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
limnoria
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_limnoria_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
2022-04-10 09:37:35 +00:00
test-nefarious :
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2022-04-10 09:37:35 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2022-04-10 09:37:35 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2022-04-10 09:37:35 +00:00
- name : Checkout nefarious
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2022-04-10 09:37:35 +00:00
with :
path : nefarious
ref : 985704168ecada12d9e53b46df6087ef9d9fb40b
repository : evilnet/nefarious2
- name : Build nefarious
run : |
cd $GITHUB_WORKSPACE/nefarious
./configure --prefix=$HOME/.local/ --enable-debug
make -j 4
make install
cp $GITHUB_WORKSPACE/data/nefarious/* $HOME/.local/lib
2022-04-13 17:57:16 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2022-04-10 09:37:35 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
nefarious
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2022-04-10 09:37:35 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2022-04-10 09:37:35 +00:00
with :
name : pytest-results_nefarious_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
2021-09-05 15:16:13 +00:00
test-ngircd :
needs :
- build-ngircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-09-05 15:16:13 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-09-05 15:16:13 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-09-05 15:16:13 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-09-05 15:16:13 +00:00
with :
name : installed-ngircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-09-05 15:16:13 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH
2021-09-05 15:16:13 +00:00
make ngircd
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-09-05 15:16:13 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-09-05 15:16:13 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_ngircd_stable
2021-09-05 15:16:13 +00:00
path : pytest.xml
test-ngircd-anope :
needs :
- build-ngircd
- build-anope
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-09-05 15:16:13 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-09-05 15:16:13 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-09-05 15:16:13 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-09-05 15:16:13 +00:00
with :
name : installed-ngircd
path : '~'
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-09-05 15:16:13 +00:00
with :
name : installed-anope
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-09-05 15:16:13 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make
2021-09-05 15:16:13 +00:00
ngircd-anope
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-09-05 15:16:13 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-09-05 15:16:13 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_ngircd-anope_stable
2021-09-05 15:16:13 +00:00
path : pytest.xml
test-ngircd-atheme :
needs :
- build-ngircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-09-05 15:16:13 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-09-05 15:16:13 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-09-05 15:16:13 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-09-05 15:16:13 +00:00
with :
name : installed-ngircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-09-05 15:16:13 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH
2021-09-05 15:16:13 +00:00
make ngircd-atheme
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-09-05 15:16:13 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-09-05 15:16:13 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_ngircd-atheme_stable
2021-09-05 15:16:13 +00:00
path : pytest.xml
2021-08-08 18:46:33 +00:00
test-plexus4 :
needs :
- build-plexus4
- build-anope
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-08-08 18:46:33 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-08-08 18:46:33 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-08-08 18:46:33 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-08-08 18:46:33 +00:00
with :
name : installed-plexus4
path : '~'
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-08-08 18:46:33 +00:00
with :
name : installed-anope
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-08-08 18:46:33 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-08-08 18:46:33 +00:00
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
plexus4
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-08-08 18:46:33 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-08-08 18:46:33 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_plexus4_stable
2021-08-08 18:46:33 +00:00
path : pytest.xml
2023-09-21 07:18:23 +00:00
test-sable :
needs : [ ]
runs-on : ubuntu-22.04
steps :
- uses : actions/checkout@v3
- name : Set up Python 3.11
uses : actions/setup-python@v4
with :
python-version : 3.11
- name : Checkout Sable
uses : actions/checkout@v3
with :
path : sable
ref : ff1179512a79eba57ca468a5f83af84ecce08a5b
repository : Libera-Chat/sable
- name : Install rust toolchain
uses : actions-rs/toolchain@v1
with :
override : true
profile : minimal
toolchain : nightly
- name : Enable Cargo cache
uses : Swatinem/rust-cache@v2
with :
cache-on-failure : true
workspaces : sable -> target
- run : rustc --version
- name : Build Sable
run : |
cd $GITHUB_WORKSPACE/sable/
cargo build
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
make sable
timeout-minutes : 30
- if : always()
name : Publish results
uses : actions/upload-artifact@v3
with :
name : pytest-results_sable_stable
path : pytest.xml
2021-07-04 21:12:26 +00:00
test-solanum :
2021-07-07 19:05:14 +00:00
needs :
- build-solanum
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2021-07-07 19:05:14 +00:00
name : installed-solanum
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-04 21:12:26 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2021-07-07 19:05:14 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
solanum
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_solanum_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
test-sopel :
2021-07-07 19:05:14 +00:00
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-04 21:12:26 +00:00
- name : Install dependencies
2022-03-19 20:39:26 +00:00
run : pip install sopel==7.1.8
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-04 21:12:26 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2021-07-07 19:05:14 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
sopel
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_sopel_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
2023-05-29 07:50:31 +00:00
test-thelounge :
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2023-05-29 07:50:31 +00:00
steps :
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-29 07:50:31 +00:00
uses : actions/setup-python@v4
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2023-05-30 19:52:11 +00:00
- name : Checkout TheLounge
uses : actions/checkout@v3
with :
path : thelounge
ref : v4.4.0
repository : thelounge/thelounge
- name : Build TheLounge
run : |
cd $GITHUB_WORKSPACE/thelounge
yarn install
NODE_ENV=production yarn build
2023-05-31 18:14:17 +00:00
mkdir -p ~/.local/bin/
2023-05-30 19:52:11 +00:00
ln -s $(pwd)/index.js ~/.local/bin/thelounge
2023-05-29 07:50:31 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH make
thelounge
timeout-minutes : 30
- if : always()
name : Publish results
uses : actions/upload-artifact@v3
with :
name : pytest-results_thelounge_stable
path : pytest.xml
2021-07-04 21:12:26 +00:00
test-unrealircd :
2021-07-07 19:05:14 +00:00
needs :
- build-unrealircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-04 21:12:26 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-04 21:12:26 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2021-07-07 19:05:14 +00:00
name : installed-unrealircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-04 21:12:26 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-04 21:12:26 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH
2021-07-04 21:12:26 +00:00
make unrealircd
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-04 21:12:26 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-04 21:12:26 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_unrealircd_stable
2021-07-04 21:12:26 +00:00
path : pytest.xml
2021-12-18 23:45:51 +00:00
test-unrealircd-5 :
needs :
- build-unrealircd-5
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-12-18 23:45:51 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-12-18 23:45:51 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-12-18 23:45:51 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-12-18 23:45:51 +00:00
with :
name : installed-unrealircd-5
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-12-18 23:45:51 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH
2021-12-18 23:45:51 +00:00
make unrealircd-5
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-12-18 23:45:51 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-12-18 23:45:51 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_unrealircd-5_stable
2021-12-18 23:45:51 +00:00
path : pytest.xml
2021-07-07 13:06:00 +00:00
test-unrealircd-anope :
2021-07-07 19:05:14 +00:00
needs :
- build-unrealircd
- build-anope
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 13:06:00 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 13:06:00 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:05:14 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 13:06:00 +00:00
with :
2021-07-07 19:05:14 +00:00
name : installed-unrealircd
path : '~'
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 19:05:14 +00:00
with :
name : installed-anope
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:05:14 +00:00
- name : Install irctest dependencies
2021-07-07 13:06:00 +00:00
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-07 13:06:00 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make
2021-07-07 19:05:14 +00:00
unrealircd-anope
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-07 13:06:00 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 13:06:00 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_unrealircd-anope_stable
2021-07-07 13:06:00 +00:00
path : pytest.xml
2021-07-07 19:08:40 +00:00
test-unrealircd-atheme :
needs :
- build-unrealircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:08:40 +00:00
steps :
2023-05-20 11:32:42 +00:00
- uses : actions/checkout@v3
2023-08-13 18:09:35 +00:00
- name : Set up Python 3.11
2023-05-20 11:32:42 +00:00
uses : actions/setup-python@v4
2021-07-07 19:08:40 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2021-07-07 19:08:40 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2021-07-07 19:08:40 +00:00
with :
name : installed-unrealircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
2022-03-20 13:05:45 +00:00
- name : Install system dependencies
run : sudo apt-get install atheme-services faketime
2021-07-07 19:08:40 +00:00
- name : Install irctest dependencies
run : |-
python -m pip install --upgrade pip
2021-08-09 21:20:39 +00:00
pip install pytest pytest-xdist -r requirements.txt
2021-07-07 19:08:40 +00:00
- name : Test with pytest
2023-09-21 07:18:23 +00:00
run : PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH
2021-07-07 19:08:40 +00:00
make unrealircd-atheme
2022-06-11 00:08:58 +00:00
timeout-minutes : 30
2021-07-07 19:08:40 +00:00
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2021-07-07 19:08:40 +00:00
with :
2022-04-09 06:59:50 +00:00
name : pytest-results_unrealircd-atheme_stable
2021-07-07 19:08:40 +00:00
path : pytest.xml
2021-07-04 21:12:26 +00:00
name : irctest with stable versions
'on' :
pull_request : null
push : null