irctest/.github/workflows/unrealircd.yml

44 lines
1.2 KiB
YAML

# This file was auto-generated by make_workflows.py.
# Do not edit it manually, modifications will be lost.
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 }}-unrealircd
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/unreal/* .
CFLAGS=-O0 ./Config -quick
make -j 4
make install
- name: Test with pytest
run: PATH=~/.local/unrealircd/bin:$PATH make unrealircd
name: irctest with UnrealIRCd (stable)
'on':
pull_request: null
push: null