Improve CI with a demo app project creation + build
This commit is contained in:
parent
4d7fcb1332
commit
ae226bfc52
2 changed files with 20 additions and 0 deletions
11
.ci/test_project.sh
Executable file
11
.ci/test_project.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
python3 toolchain.py create Touchtracer kivy-ci-clone/examples/demo/touchtracer
|
||||||
|
|
||||||
|
xcodebuild -project touchtracer-ios/touchtracer.xcodeproj \
|
||||||
|
-scheme touchtracer \
|
||||||
|
-destination generic/platform=iOS\
|
||||||
|
clean build CODE_SIGNING_ALLOWED=NO | xcpretty
|
9
.github/workflows/kivy_ios.yml
vendored
9
.github/workflows/kivy_ios.yml
vendored
|
@ -35,9 +35,18 @@ jobs:
|
||||||
brew install autoconf automake libtool pkg-config
|
brew install autoconf automake libtool pkg-config
|
||||||
brew link libtool
|
brew link libtool
|
||||||
pip3 install Cython==0.28.1
|
pip3 install Cython==0.28.1
|
||||||
|
gem install xcpretty
|
||||||
- name: Build Python & Kivy
|
- name: Build Python & Kivy
|
||||||
run: |
|
run: |
|
||||||
python toolchain.py build python3 kivy
|
python toolchain.py build python3 kivy
|
||||||
|
- name: Checkout kivy for tests apps
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: kivy/kivy
|
||||||
|
path: kivy-ci-clone
|
||||||
|
- name: Create & Build test project
|
||||||
|
run: |
|
||||||
|
.ci/test_project.sh
|
||||||
|
|
||||||
build_updated_recipes:
|
build_updated_recipes:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
Loading…
Reference in a new issue