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-devel
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-devel
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
ref : master
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-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-devel
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
ref : 8.2 .x
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
ref : master
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-devel
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
ref : master
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-devel
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
run : 'curl https://gitlab.com/rizon/plexus4/-/archive/master/plexus4-master.tar.gz
| tar -zx
mv plexus4* plexus4'
- 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-devel
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
ref : main
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-devel
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
2021-12-18 23:45:51 +00:00
ref : unreal60_dev
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-devel
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
ref : unreal52
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-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-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
2022-11-14 21:58:30 +00:00
- test-unrealircd-dlk
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_devel
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_devel
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_devel
2021-08-08 22:30:08 +00:00
path : pytest.xml
2021-07-07 19:05:14 +00:00
test-ergo :
needs : [ ]
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2021-07-07 19:05:14 +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:05:14 +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 : master
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_devel
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_devel
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:40:09 +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_devel
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 19:40:09 +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_devel
2021-07-07 13:06:00 +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_branch
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_devel
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
2021-07-07 19:05:14 +00:00
run : pip install git+https://github.com/ProgVal/Limnoria.git@testing cryptography
2021-08-08 18:47:42 +00:00
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_devel
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 : master
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_devel
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_devel
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_devel
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_devel
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_devel
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 : master
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_devel
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_devel
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
2021-07-07 19:05:14 +00:00
run : pip install git+https://github.com/sopel-irc/sopel.git
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_devel
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 : master
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_devel
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_devel
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_devel
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_devel
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_devel
2021-07-07 19:08:40 +00:00
path : pytest.xml
2022-11-14 21:58:30 +00:00
test-unrealircd-dlk :
needs :
- build-unrealircd
2023-06-25 21:14:08 +00:00
runs-on : ubuntu-22.04
2022-11-14 21:58:30 +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-11-14 21:58:30 +00:00
with :
2023-08-13 18:09:35 +00:00
python-version : 3.11
2022-11-14 21:58:30 +00:00
- name : Download build artefacts
2023-05-20 11:32:42 +00:00
uses : actions/download-artifact@v3
2022-11-14 21:58:30 +00:00
with :
name : installed-unrealircd
path : '~'
- name : Unpack artefacts
run : cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
- name : Checkout Dlk
2023-05-20 11:32:42 +00:00
uses : actions/checkout@v3
2022-11-14 21:58:30 +00:00
with :
path : Dlk-Services
ref : main
repository : DalekIRC/Dalek-Services
- name : Build Dlk
run : |
pip install pifpaf
wget -q https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
wget -q https://wordpress.org/latest.zip -O wordpress-latest.zip
- 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
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
2022-11-14 21:58:30 +00:00
IRCTEST_DLK_PATH="${{ github.workspace }}/Dlk-Services" IRCTEST_WP_CLI_PATH="${{
github.workspace }}/wp-cli.phar" IRCTEST_WP_ZIP_PATH="${{ github.workspace
}}/wordpress-latest.zip" make unrealircd-dlk
timeout-minutes : 30
- if : always()
name : Publish results
2023-05-20 11:32:42 +00:00
uses : actions/upload-artifact@v3
2022-11-14 21:58:30 +00:00
with :
name : pytest-results_unrealircd-dlk_devel
path : pytest.xml
2021-07-04 21:12:26 +00:00
name : irctest with devel versions
'on' :
schedule :
- cron : 51 8 * * 6
- cron : 51 8 * * 0
- cron : 51 17 * * *
workflow_dispatch : null