mirror of
https://github.com/eblot/pybootd.git
synced 2024-09-11 22:17:44 +03:00
28 lines
628 B
YAML
28 lines
628 B
YAML
|
name: Python package
|
||
|
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
python-version: [3.5, 3.6, 3.7, 3.8]
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up Python ${{ matrix.python-version }}
|
||
|
uses: actions/setup-python@v1
|
||
|
with:
|
||
|
python-version: ${{ matrix.python-version }}
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install -r requirements.txt
|
||
|
pip install setuptools wheel
|
||
|
- name: Build package
|
||
|
run: |
|
||
|
python setup.py bdist
|
||
|
python setup.py sdist bdist_wheel
|