mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 23:39:46 +00:00
Start adding support for Unreal
Not all tests pass yet, Unreal uses the protocol in ways we did not anticipate.
This commit is contained in:
55
.github/workflows/unrealircd.yml
vendored
Normal file
55
.github/workflows/unrealircd.yml
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
name: irctest with UnrealIRCd
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
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:
|
||||
path: |
|
||||
~/.cache
|
||||
$GITHUB_WORKSPACE/unrealircd
|
||||
key: ${{ runner.os }}-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:
|
||||
repository: unrealircd/unrealircd
|
||||
ref: unreal52
|
||||
path: unrealircd
|
||||
|
||||
- name: Build UnrealIRCd
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/unrealircd/
|
||||
cp $GITHUB_WORKSPACE/unreal_config.settings config.settings
|
||||
CFLAGS=-O0 ./Config -quick
|
||||
make -j 4
|
||||
echo "\n\n\n\n\n\n" | make pem
|
||||
make install
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
PATH=~/.local/unrealircd/bin:$PATH make unreal
|
||||
|
||||
|
Reference in New Issue
Block a user