Add workflows triggered by crons to run on the latest development versions (#66)

This commit is contained in:
Val Lorentz
2021-07-03 16:15:04 +02:00
committed by GitHub
parent d7d6f0c521
commit 26fe83d2c6
10 changed files with 400 additions and 16 deletions

45
.github/workflows/solanum_devel.yml vendored Normal file
View File

@ -0,0 +1,45 @@
# 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 }}-solanum
path: |-
~/.cache
$GITHUB_WORKSPACE/solanum
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout Solanum
uses: actions/checkout@v2
with:
path: solanum
ref: main
repository: solanum-ircd/solanum
- 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':
schedule:
- cron: 51 8 * * 6
- cron: 51 8 * * 0
- cron: 51 17 * * *