kivy-ios/.github/workflows/kivy_ios.yml
Mirko Galimberti 78c36997b1 Add flake8
2020-04-14 18:38:15 +02:00

40 lines
980 B
YAML

name: kivy-ios
on: [push, pull_request]
jobs:
flake8:
name: Flake8 tests
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: Run flake8
run: |
python -m pip install --upgrade pip
pip install tox>=2.0
tox -e pep8
build_updated_recipes:
runs-on: macos-latest
steps:
- name: Checkout kivy-ios
uses: actions/checkout@v2
- name: Set up Python 3.7.x
uses: actions/setup-python@v1
with:
python-version: 3.7.x
- name: Install requirements
run: |
pip3 install -r requirements.txt
pip3 install sh
brew install autoconf automake libtool pkg-config
brew link libtool
pip3 install Cython==0.29.10
- name: Build updated recipes
run: |
python3 .ci/rebuild_updated_recipes.py