mirror of
https://github.com/progval/irctest.git
synced 2025-04-08 00:09:46 +00:00
Add workflows triggered by crons to run on the latest development versions (#66)
This commit is contained in:
45
.github/workflows/solanum_devel.yml
vendored
Normal file
45
.github/workflows/solanum_devel.yml
vendored
Normal 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 * * *
|
Reference in New Issue
Block a user