2021-07-03 14:15:04 +00:00
|
|
|
# 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: unreal52
|
|
|
|
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
|
2021-07-03 14:19:21 +00:00
|
|
|
name: irctest with UnrealIRCd (devel)
|
2021-07-03 14:15:04 +00:00
|
|
|
'on':
|
|
|
|
schedule:
|
|
|
|
- cron: 51 8 * * 6
|
|
|
|
- cron: 51 8 * * 0
|
|
|
|
- cron: 51 17 * * *
|