irctest/.github/workflows/charybdis.yml

44 lines
1.2 KiB
YAML
Raw Normal View History

# This file was auto-generated by make_workflows.py.
# Do not edit it manually, modifications will be lost.
2021-02-24 11:17:22 +00:00
jobs:
build:
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
path: |-
2021-02-24 11:17:22 +00:00
~/.cache
$GITHUB_WORKSPACE/charybdis
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
2021-02-24 11:17:22 +00:00
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
2021-02-24 11:17:22 +00:00
- name: Build Charybdis
run: |
cd $GITHUB_WORKSPACE/charybdis/
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install
- name: Test with pytest
run: PATH=~/.local/bin:$PATH make charybdis
2021-07-03 14:19:21 +00:00
name: irctest with Charybdis (stable)
'on':
pull_request: null
push: null