irctest/.github/workflows/test-stable.yml

397 lines
11 KiB
YAML
Raw Normal View History

# This file was auto-generated by make_workflows.py.
# Do not edit it manually, modifications will be lost.
jobs:
publish-test-results:
if: success() || failure()
name: Publish Unit Tests Results
needs:
- test-charybdis
- test-solanum
- test-ergo
- test-inspircd
- test-inspircd-anope
- test-unrealircd
- test-unrealircd-anope
- test-limnoria
- test-sopel
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
path: artifacts
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: artifacts/**/*.xml
test-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: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-charybdis-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/charybdis
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- 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: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.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:
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
- uses: actions/setup-go@v2
with:
go-version: ~1.16
- run: go version
- name: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-ergo-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/ergo
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout Ergo
uses: actions/checkout@v2
with:
path: ergo
ref: irctest_stable
repository: ergochat/ergo
- name: Build Ergo
run: |
cd $GITHUB_WORKSPACE/ergo/
make build
make install
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/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-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: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout InspIRCd
uses: actions/checkout@v2
with:
path: inspircd
ref: v3.10.0
repository: inspircd/inspircd
- name: Build InspIRCd
run: |
cd $GITHUB_WORKSPACE/inspircd/
patch src/inspircd.cpp < $GITHUB_WORKSPACE/inspircd_mainloop.patch
./configure --prefix=$HOME/.local/inspircd --development
make -j 4
make install
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.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:
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: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout InspIRCd
uses: actions/checkout@v2
with:
path: inspircd
ref: v3.10.0
repository: inspircd/inspircd
- name: Build InspIRCd
run: |
cd $GITHUB_WORKSPACE/inspircd/
patch src/inspircd.cpp < $GITHUB_WORKSPACE/inspircd_mainloop.patch
./configure --prefix=$HOME/.local/inspircd --development
make -j 4
make install
- 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: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.local/inspircd/bin:$PATH make
inspircd-anope
- if: always()
name: Publish results
uses: actions/upload-artifact@v2
with:
name: pytest results InspIRCd (stable)
path: pytest.xml
test-limnoria:
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: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-limnoria-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/placeholder
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Install dependencies
run: pip install limnoria==2021.06.15 cryptography
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.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-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: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-solanum-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/solanum
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout Solanum
uses: actions/checkout@v2
with:
path: solanum
ref: e370888264da666a1bd9faac86cd5f2aa06084f4
repository: solanum-ircd/solanum
- name: Build Solanum
run: |
cd $GITHUB_WORKSPACE/solanum/
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.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:
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: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-sopel-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/placeholder
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Install dependencies
run: pip install sopel==7.1.1
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.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:
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: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-unrealircd-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/unrealircd
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout UnrealIRCd
uses: actions/checkout@v2
with:
path: unrealircd
ref: 94993a03ca8d3c193c0295c33af39270c3f9d27d
repository: unrealircd/unrealircd
- name: Build UnrealIRCd
run: |
cd $GITHUB_WORKSPACE/unrealircd/
cp $GITHUB_WORKSPACE/data/unreal/* .
CFLAGS=-O0 ./Config -quick
make -j 4
make install
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.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-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: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-unrealircd-anope-stable
path: |-
~/.cache
$GITHUB_WORKSPACE/unrealircd
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout UnrealIRCd
uses: actions/checkout@v2
with:
path: unrealircd
ref: 94993a03ca8d3c193c0295c33af39270c3f9d27d
repository: unrealircd/unrealircd
- name: Build UnrealIRCd
run: |
cd $GITHUB_WORKSPACE/unrealircd/
cp $GITHUB_WORKSPACE/data/unreal/* .
CFLAGS=-O0 ./Config -quick
make -j 4
make install
- 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: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=~/.local/unrealircd/bin:$PATH
make unrealircd-anope
- if: always()
name: Publish results
uses: actions/upload-artifact@v2
with:
name: pytest results UnrealIRCd (stable)
path: pytest.xml
name: irctest with stable versions
'on':
pull_request: null
push: null