irctest/.github/workflows/solanum.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-27 13:43:52 +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 }}-solanum
path: |-
2021-02-27 13:43:52 +00:00
~/.cache
$GITHUB_WORKSPACE/solanum
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
2021-02-27 13:43:52 +00:00
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout Solanum
uses: actions/checkout@v2
with:
path: solanum
ref: e370888264da666a1bd9faac86cd5f2aa06084f4
repository: solanum-ircd/solanum
2021-02-27 13:43:52 +00:00
- name: Build Solanum
run: |
cd $GITHUB_WORKSPACE/solanum/
./autogen.sh
./configure --prefix=$HOME/.local/
make -j 4
make install
- name: Test with pytest
run: PATH=~/.local/bin:$PATH make solanum
name: irctest with Solanum
'on':
pull_request: null
push: null