https://github.com/ubports/unity8
The operating environment for everywhere. Lomiri development has moved to https://gitlab.com/ubports/development/core/lomiri
https://github.com/ubports/unity8
Last synced: 11 days ago
JSON representation
The operating environment for everywhere. Lomiri development has moved to https://gitlab.com/ubports/development/core/lomiri
- Host: GitHub
- URL: https://github.com/ubports/unity8
- Owner: ubports
- License: gpl-3.0
- Archived: true
- Created: 2017-04-06T19:19:18.000Z (about 8 years ago)
- Default Branch: xenial
- Last Pushed: 2023-03-27T06:28:32.000Z (about 2 years ago)
- Last Synced: 2024-11-04T16:44:24.289Z (5 months ago)
- Language: QML
- Homepage: https://lomiri.com/
- Size: 165 MB
- Stars: 727
- Watchers: 64
- Forks: 99
- Open Issues: 75
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- fucking-Awesome-Linux-Software - . This is a convenient method to try out most graphical changes to Lomiri without an annoying redeployment process. If you wish to test your changes on your device or make changes that are more difficult to test without real hardware, check out [Making changes and testing locally on the UBports documentation](https://docs.ubports.com/en/latest/systemdev/testing-locally.html). If not, read on.
Before you start, [install Clickable](https://clickable-ut.dev/en/latest/install.html).
Now, clone this repository to your computer: `git clone https://github.com/ubports/unity8.git`
Move into this directory: `cd unity8`
Now you can use the full suite of tools provided by this repository's [clickable.yaml](clickable.yaml). For example:
* `clickable ide qtcreator` will open QtCreator with this repository open as a project. You can edit and build the project this way, but running the tests will be a bit difficult.
* `clickable build --libs --verbose` will build Lomiri in the same environment as it would receive in Ubuntu Touch.
* `clickable test --libs` will run the entire Lomiri test suite. This test suite includes graphical tests (which are run on a virtual, invisible desktop) and non-graphical unit tests. These tests make sure Lomiri functions as prescribed and prevents new bugs from being added. You should run them before you create a PR on this repository. This command takes about 7 minutes on an Intel i7-8550U, so plan your time accordingly and use the next two options to reduce the number of times you need to run the whole test suite...
* `clickable ide 'cd build/x86_64-linux-gnu/unity8/ && make tryShell'` and similar commands that replace the `Shell` with another test target defined in [tests/qmltests/CMakeLists.txt](tests/qmltests/CMakeLists.txt) allow trying out some Lomiri components in a mock environment. You can use this to try out your changes to Lomiri as you develop.
* `clickable ide 'cd build/x86_64-linux-gnu/unity8/ && make xvfbtestShell'` and similar commands that replace the `Shell` with another test target defined in [tests/qmltests/CMakeLists.txt](tests/qmltests/CMakeLists.txt) allow running a single TestCase. You can remove the `xvfb` part of the make target to run the test case graphically, which might help you see what is causing the test to fail.