irctest/.github/workflows/inspircd.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:31:36 +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 }}-inspircd
path: |-
2021-02-24 11:31:36 +00:00
~/.cache
$GITHUB_WORKSPACE/inspircd
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
2021-02-24 11:31:36 +00:00
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout InspIRCd
uses: actions/checkout@v2
with:
path: inspircd
2021-07-03 14:24:23 +00:00
ref: v3.10.0
repository: inspircd/inspircd
2021-02-24 11:31:36 +00:00
- name: Build InspIRCd
run: |
cd $GITHUB_WORKSPACE/inspircd/
patch src/inspircd.cpp < $GITHUB_WORKSPACE/inspircd_mainloop.patch
./configure --prefix=$HOME/.local/inspircd --development
2021-02-24 11:31:36 +00:00
make -j 4
make install
- name: Test with pytest
run: PATH=~/.local/inspircd/bin:$PATH make inspircd
2021-07-03 14:19:21 +00:00
name: irctest with InspIRCd (stable)
'on':
pull_request: null
push: null