Generate .github/workflows/ from a single compact file (#65)

It's easier to read and maintain
This commit is contained in:
Val Lorentz
2021-07-03 14:50:00 +02:00
committed by GitHub
parent e17234c911
commit d7d6f0c521
11 changed files with 312 additions and 157 deletions

View File

@ -1,44 +1,33 @@
name: irctest with Charybdis
on:
push:
pull_request:
# 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:
path: |
key: ${{ runner.os }}-charybdis
path: |-
~/.cache
$GITHUB_WORKSPACE/charybdis
key: ${{ runner.os }}-charybdis
- name: Install dependencies
run: |
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout Charybdis
uses: actions/checkout@v2
with:
repository: charybdis-ircd/charybdis
ref: charybdis-4.1.2
path: charybdis
ref: charybdis-4.1.2
repository: charybdis-ircd/charybdis
- name: Build Charybdis
run: |
cd $GITHUB_WORKSPACE/charybdis/
@ -46,8 +35,9 @@ jobs:
./configure --prefix=$HOME/.local/
make -j 4
make install
- name: Test with pytest
run: |
PATH=~/.local/bin:$PATH make charybdis
run: PATH=~/.local/bin:$PATH make charybdis
name: irctest with Charybdis
'on':
pull_request: null
push: null