Merge pull request #474 from AndreMiras/feature/check_setup_workflow
Dedicated setup.py test workflow
This commit is contained in:
commit
274298d7a6
1 changed files with 35 additions and 0 deletions
35
.github/workflows/setup.yml
vendored
Normal file
35
.github/workflows/setup.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: setup
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout kivy-ios
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v1.1.0
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade setuptools wheel twine
|
||||
- name: sdist bdist_wheel
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Twine check
|
||||
run: |
|
||||
twine check dist/*
|
||||
- name: Local install
|
||||
run: |
|
||||
python -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install dist/kivy-ios-*.tar.gz
|
||||
pip install Cython==0.29.17
|
||||
brew install autoconf automake libtool pkg-config
|
||||
- name: Basic toolchain commands
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
toolchain --help
|
||||
toolchain recipes
|
Loading…
Reference in a new issue