Merge pull request #474 from AndreMiras/feature/check_setup_workflow

Dedicated setup.py test workflow
This commit is contained in:
Andre Miras 2020-05-05 20:10:48 +02:00 committed by GitHub
commit 274298d7a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

35
.github/workflows/setup.yml vendored Normal file
View 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