Skip testWhoxOneChar[l] on ircu2 #1256
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was auto-generated by make_workflows.py. | |
# Do not edit it manually, modifications will be lost. | |
jobs: | |
build-anope: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache Anope | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-anope-2.0.9 | |
path: '~/.cache | |
${{ github.workspace }}/anope | |
' | |
- name: Checkout Anope | |
uses: actions/checkout@v2 | |
with: | |
path: anope | |
ref: 2.0.9 | |
repository: anope/anope | |
- name: Build Anope | |
run: |- | |
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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-anope | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-bahamut: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-bahamut-stable | |
path: '~/.cache | |
${ github.workspace }/Bahamut | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout Bahamut | |
uses: actions/checkout@v2 | |
with: | |
path: Bahamut | |
ref: v2.2.1 | |
repository: DALnet/Bahamut | |
- name: Build Bahamut | |
run: | | |
cd $GITHUB_WORKSPACE/Bahamut/ | |
patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch | |
echo "#undef THROTTLE_ENABLE" >> include/config.h | |
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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-bahamut | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-charybdis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-charybdis-stable | |
path: '~/.cache | |
${ github.workspace }/charybdis | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout Charybdis | |
uses: actions/checkout@v2 | |
with: | |
path: charybdis | |
ref: charybdis-4.1.2 | |
repository: charybdis-ircd/charybdis | |
- name: Build Charybdis | |
run: | | |
cd $GITHUB_WORKSPACE/charybdis/ | |
./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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-charybdis | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-hybrid: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-hybrid-stable | |
path: '~/.cache | |
${ github.workspace }/ircd-hybrid | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout Hybrid | |
uses: actions/checkout@v2 | |
with: | |
path: ircd-hybrid | |
ref: 8.2.39 | |
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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-hybrid | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-inspircd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout InspIRCd | |
uses: actions/checkout@v2 | |
with: | |
path: inspircd | |
ref: v3.12.0 | |
repository: inspircd/inspircd | |
- name: Build InspIRCd | |
run: | | |
cd $GITHUB_WORKSPACE/inspircd/ | |
patch src/inspircd.cpp < $GITHUB_WORKSPACE/patches/inspircd_mainloop.patch | |
./configure --prefix=$HOME/.local/inspircd --development | |
make -j 4 | |
make install | |
- name: Make artefact tarball | |
run: cd ~; tar -czf artefacts-inspircd.tar.gz .local/ go/ | |
- name: Upload build artefacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-inspircd | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-ngircd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-ngircd-stable | |
path: '~/.cache | |
${ github.workspace }/ngircd | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout ngircd | |
uses: actions/checkout@v2 | |
with: | |
path: ngircd | |
ref: rel-26.1 | |
repository: ngircd/ngircd | |
- name: Build ngircd | |
run: | | |
cd $GITHUB_WORKSPACE/ngircd | |
patch src/ngircd/client.c < $GITHUB_WORKSPACE/patches/ngircd_whowas_delay.patch | |
./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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-ngircd | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-plexus4: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-plexus4-stable | |
path: '~/.cache | |
${ github.workspace }/placeholder | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: clone | |
run: 'curl https://gitlab.com/rizon/plexus4/-/archive/20211115_0-611/plexus4-20211115_0-611.tar | |
| tar -x | |
mv plexus* 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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-plexus4 | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-solanum: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-solanum-stable | |
path: '~/.cache | |
${ github.workspace }/solanum | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout Solanum | |
uses: actions/checkout@v2 | |
with: | |
path: solanum | |
ref: 492d560ee13e71dc35403fd676e58c2d5bdcf2a9 | |
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 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-solanum | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-unrealircd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-unrealircd-stable | |
path: '~/.cache | |
${ github.workspace }/unrealircd | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout UnrealIRCd 6 | |
uses: actions/checkout@v2 | |
with: | |
path: unrealircd | |
ref: daa0c11f285c7123ba9fa2966dee2d1a17729f1e | |
repository: unrealircd/unrealircd | |
- name: Build UnrealIRCd 6 | |
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 | |
- name: Make artefact tarball | |
run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/ | |
- name: Upload build artefacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-unrealircd | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
build-unrealircd-5: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create directories | |
run: cd ~/; mkdir -p .local/ go/ | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: 3-${{ runner.os }}-unrealircd-5-stable | |
path: '~/.cache | |
${ github.workspace }/unrealircd | |
' | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout UnrealIRCd 5 | |
uses: actions/checkout@v2 | |
with: | |
path: unrealircd | |
ref: 6604856973f713a494f83d38992d7d61ce6b9db4 | |
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 | |
- name: Make artefact tarball | |
run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/ | |
- name: Upload build artefacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: installed-unrealircd-5 | |
path: ~/artefacts-*.tar.gz | |
retention-days: 1 | |
publish-test-results: | |
if: success() || failure() | |
name: Publish Unit Tests Results | |
needs: | |
- test-bahamut | |
- test-bahamut-anope | |
- test-bahamut-atheme | |
- test-charybdis | |
- test-ergo | |
- test-hybrid | |
- test-inspircd | |
- test-inspircd-anope | |
- test-inspircd-atheme | |
- test-irc2 | |
- test-ircu2 | |
- test-limnoria | |
- test-ngircd | |
- test-ngircd-anope | |
- test-ngircd-atheme | |
- test-plexus4 | |
- test-solanum | |
- test-sopel | |
- test-unrealircd | |
- test-unrealircd-5 | |
- test-unrealircd-anope | |
- test-unrealircd-atheme | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
path: artifacts | |
- if: github.event_name == 'pull_request' | |
name: Publish Unit Test Results | |
uses: actions/github-script@v4 | |
with: | |
result-encoding: string | |
script: | | |
let body = ''; | |
const options = {}; | |
options.listeners = { | |
stdout: (data) => { | |
body += data.toString(); | |
} | |
}; | |
await exec.exec('bash', ['-c', 'shopt -s globstar; python3 report.py artifacts/**/*.xml'], options); | |
github.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: body, | |
}); | |
return body; | |
test-bahamut: | |
needs: | |
- build-bahamut | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-bahamut | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
bahamut | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results bahamut (stable) | |
path: pytest.xml | |
test-bahamut-anope: | |
needs: | |
- build-bahamut | |
- build-anope | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-bahamut | |
path: '~' | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-anope | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
bahamut-anope | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results bahamut-anope (stable) | |
path: pytest.xml | |
test-bahamut-atheme: | |
needs: | |
- build-bahamut | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-bahamut | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
bahamut-atheme | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results bahamut-atheme (stable) | |
path: pytest.xml | |
test-charybdis: | |
needs: | |
- build-charybdis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-charybdis | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
charybdis | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results charybdis (stable) | |
path: pytest.xml | |
test-ergo: | |
needs: [] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout Ergo | |
uses: actions/checkout@v2 | |
with: | |
path: ergo | |
ref: irctest_stable | |
repository: ergochat/ergo | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.17.0 | |
- run: go version | |
- name: Build Ergo | |
run: | | |
cd $GITHUB_WORKSPACE/ergo/ | |
make build | |
make install | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/go/sbin:~/go/bin:$PATH | |
make ergo | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results ergo (stable) | |
path: pytest.xml | |
test-hybrid: | |
needs: | |
- build-hybrid | |
- build-anope | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-hybrid | |
path: '~' | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-anope | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
hybrid | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results hybrid (stable) | |
path: pytest.xml | |
test-inspircd: | |
needs: | |
- build-inspircd | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-inspircd | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/inspircd/sbin:~/.local/inspircd/bin:$PATH | |
make inspircd | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results inspircd (stable) | |
path: pytest.xml | |
test-inspircd-anope: | |
needs: | |
- build-inspircd | |
- build-anope | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-inspircd | |
path: '~' | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-anope | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/inspircd/sbin:~/.local/inspircd/bin:$PATH make | |
inspircd-anope | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results inspircd-anope (stable) | |
path: pytest.xml | |
test-inspircd-atheme: | |
needs: | |
- build-inspircd | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-inspircd | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/inspircd/sbin:~/.local/inspircd/bin:$PATH | |
make inspircd-atheme | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results inspircd-atheme (stable) | |
path: pytest.xml | |
test-irc2: | |
needs: [] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Get source code | |
run: curl http://ftp.irc.org/ftp/irc/server/irc2.11.2p3.tgz | tar -zx | |
- name: Configure | |
run: 'cd $GITHUB_WORKSPACE/irc2.11.2p3 | |
./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... | |
echo "#define fork() (0)" >> config.h' | |
- name: Compile and install | |
run: 'cd $GITHUB_WORKSPACE/irc2.11.2p3/x86* | |
make -j 4 all | |
make install | |
mkdir -p $HOME/.local/bin | |
cp $HOME/.local/sbin/ircd $HOME/.local/bin/ircd' | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results irc2 (stable) | |
path: pytest.xml | |
test-ircu2: | |
needs: [] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Checkout ircu2 | |
uses: actions/checkout@v2 | |
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 | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results ircu2 (stable) | |
path: pytest.xml | |
test-limnoria: | |
needs: [] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: pip install limnoria==2022.03.17 cryptography pyxmpp2-scram | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
limnoria | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results limnoria (stable) | |
path: pytest.xml | |
test-ngircd: | |
needs: | |
- build-ngircd | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-ngircd | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local//sbin:~/.local//bin:$PATH | |
make ngircd | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results ngircd (stable) | |
path: pytest.xml | |
test-ngircd-anope: | |
needs: | |
- build-ngircd | |
- build-anope | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-ngircd | |
path: '~' | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-anope | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local//sbin:~/.local//bin:$PATH make | |
ngircd-anope | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results ngircd-anope (stable) | |
path: pytest.xml | |
test-ngircd-atheme: | |
needs: | |
- build-ngircd | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-ngircd | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local//sbin:~/.local//bin:$PATH | |
make ngircd-atheme | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results ngircd-atheme (stable) | |
path: pytest.xml | |
test-plexus4: | |
needs: | |
- build-plexus4 | |
- build-anope | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-plexus4 | |
path: '~' | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-anope | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
plexus4 | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results plexus4 (stable) | |
path: pytest.xml | |
test-solanum: | |
needs: | |
- build-solanum | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-solanum | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
solanum | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results solanum (stable) | |
path: pytest.xml | |
test-sopel: | |
needs: [] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: pip install sopel==7.1.8 | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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 | |
sopel | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results sopel (stable) | |
path: pytest.xml | |
test-unrealircd: | |
needs: | |
- build-unrealircd | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-unrealircd | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:$PATH | |
make unrealircd | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results unrealircd (stable) | |
path: pytest.xml | |
test-unrealircd-5: | |
needs: | |
- build-unrealircd-5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-unrealircd-5 | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:$PATH | |
make unrealircd-5 | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results unrealircd-5 (stable) | |
path: pytest.xml | |
test-unrealircd-anope: | |
needs: | |
- build-unrealircd | |
- build-anope | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-unrealircd | |
path: '~' | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-anope | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:$PATH make | |
unrealircd-anope | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results unrealircd-anope (stable) | |
path: pytest.xml | |
test-unrealircd-atheme: | |
needs: | |
- build-unrealircd | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Download build artefacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: installed-unrealircd | |
path: '~' | |
- name: Unpack artefacts | |
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; | |
- name: Install Atheme | |
run: sudo apt-get install atheme-services | |
- 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=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:$PATH | |
make unrealircd-atheme | |
- if: always() | |
name: Publish results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pytest results unrealircd-atheme (stable) | |
path: pytest.xml | |
name: irctest with stable versions | |
'on': | |
pull_request: null | |
push: null |