mirror of
https://github.com/eblot/pybootd.git
synced 2024-07-14 17:20:30 +03:00
Add basic CI rule to build package
This commit is contained in:
parent
f422eb13f5
commit
a8dbc07817
27
.github/workflows/pythonpackage.yml
vendored
Normal file
27
.github/workflows/pythonpackage.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user