Skip to content

Commit 237de3f

Browse files
committed
💚 Add testapps/python3-with-numpy/%
Fix our `CI` travis tests by explicitly omit the numpy build for MacOsX. Yeah...not actually a solution for MacOsX...but at least we will have the `green tick mark` for our `CI` tests...but we have a problem with MacOsX and numpy recipe :< See also: #2073
1 parent cbebd95 commit 237de3f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Build apk python3 ${{ matrix.build-arch }}
5959
run: |
6060
mkdir -p apks
61-
make docker/run/make/with-artifact/testapps/python3/${{ matrix.build-arch }}
61+
make docker/run/make/with-artifact/testapps/python3-with-numpy/${{ matrix.build-arch }}
6262
- uses: actions/upload-artifact@v1
6363
with:
6464
name: unit_tests_app__python3-${{ matrix.build-arch }}-debug-1.1.apk

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
name: Python 3 arm64-v8a (with numpy)
5151
stage: build testapps
5252
before_script: make docker/pull
53-
script: make docker/run/make/testapps/python3/arm64-v8a
53+
script: make docker/run/make/testapps/python3-with-numpy/arm64-v8a
5454
- <<: *testapps
5555
name: Python 3 armeabi-v7a
5656
os: osx

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,19 @@ testapps/python2/%: virtualenv
4242
--requirements sdl2,pyjnius,kivy,python2,openssl,requests,sqlite3,setuptools \
4343
--arch=$($@_APP_ARCH)
4444

45-
testapps/python3/%: virtualenv
45+
testapps/python3-with-numpy/%: virtualenv
4646
$(eval $@_APP_ARCH := $(shell basename $*))
4747
. $(ACTIVATE) && cd testapps/on_device_unit_tests/ && \
4848
python setup.py apk --sdk-dir $(ANDROID_SDK_HOME) --ndk-dir $(ANDROID_NDK_HOME) \
4949
--requirements sdl2,pyjnius,kivy,python3,openssl,requests,sqlite3,setuptools,numpy \
5050
--arch=$($@_APP_ARCH)
5151

52+
testapps/python3/%: virtualenv
53+
$(eval $@_APP_ARCH := $(shell basename $*))
54+
. $(ACTIVATE) && cd testapps/on_device_unit_tests/ && \
55+
python setup.py apk --sdk-dir $(ANDROID_SDK_HOME) --ndk-dir $(ANDROID_NDK_HOME) \
56+
--arch=$($@_APP_ARCH)
57+
5258
clean:
5359
find . -type d -name "__pycache__" -exec rm -r {} +
5460
find . -type d -name "*.egg-info" -exec rm -r {} +

0 commit comments

Comments
 (0)