mdsanima-rt-go
Cross Platform Application for Calculating Render Time.
Testing
This is a base application build on Windows
Android
and Linux
.
All build is a debug mode. This is a not production build only for testing.
Linux Ubuntu 20.04
Microsoft Windows 10
Samsung S7 Edge Android armeabi-v7a
Requirement
Run this command in wsl-1 and PowerShell on the Windows 10
:
python3.8 -m pip install -r requirements.txt
If kivy does not detect opengl add this code to setting.py
:
import os
os.environ['KIVY_GL_BACKEND'] = 'angle_sdl2'
standard-version
Run First run standard-version on wsl to generate CHANGELOG.md
and bumping verion in __init__.py
and spec_windows_version.rc
files:
standard-version --skip.commit --skip.tag
Only bump release as minor and check:
standard-version --skip.changelog --skip.commit --skip.tag --release-as minor --dry-run
Add bumping files and commiting:
git add . && git commit -m "chore(release): 0.1.0"
Create tag:
standard-version --skip.bump --skip.changelog --commit-all --sign
.exe
Build Windows Run on PowerShell
in Windows:
cd J:\github-mdsanima-dev\mdsanima-rt-go
.\spec_windows_build.cmd
Build Linux
Run on shell
in ubuntu_20_04
Virtual Box:
sudo su
cd /media/sf_mdsanima-rt-go
sudo python3.8 -m PyInstaller \
--distpath /media/sf_mdsanima-rt-go/dist/linux \
--workpath /media/sf_mdsanima-rt-go/.build \
--onefile /media/sf_mdsanima-rt-go/spec_linux_onefile.spec
armeabi-v7a
arm64-v8a
x86
x86_64
Build Android Connect phone to pc and run on PowerShell
this command:
cd C:\adb
.\adb.exe devices
If List of devices attached is empty run thic command:
.\adb.exe kill-server
.\adb.exe devices
Now shuld show devices
Run this on wsl
to copy all files in to home
directory:
cd /home/mdsanima/mdsanima-rt-go/
rm -r * && cp -r /mnt/j/github-mdsanima-dev/mdsanima-rt-go/* .
Before building if requirements on buildozer.spec updated:
sudo buildozer android clean
Build and deploy:
sudo buildozer --profile armeabi-v7a -v android debug deploy run logcat
sudo buildozer --profile arm64-v8a -v android debug
sudo buildozer --profile x86 -v android debug
sudo buildozer --profile x86_64 -v android debug
Adb install:
adb install -r /home/mdsanima/mdsanima-rt-go/dist/android/mdsanima.rt.go-0.3.0-armeabi-v7a-debug.apk
Copy .apk
to dist
folder:
cp dist/android/mdsanima.rt.go-0.1.0-armeabi-v7a-debug.apk \
/mnt/j/github-mdsanima-dev/mdsanima-rt-go/dist/android/
Connect With Me
Hi there, I'm Marcin Różewski aka MDSANIMA. These are my social media, check it out please. Thanks.
License
Cross Platform App MDSANIMA RT GO
is released under the terms of Apache-2.0 License