Comments (8)
I guess you are using the master version of Dinghy? Could you give a try to the latest version, that we are currently working on to see if it works better for you?
You can install it with the following command 'cargo install --force --git 'https://github.com/snipsco/dinghy.git' --branch 0.3'
Beware that configuration might change a little bit and that ndk is not directly supported anymore (they are replaced with standalone toolchains instead).
from dinghy.
Thank you for the quick reply.
I have installed the latest version of Dinghy, build a standalone toolchain and created dinghy.toml
and .cargo/config
files to point to the toolchain and linker. (That took care of the error "Couldn't find toolchain directory).
But somehow all tests are now run locally, not on my phone. Have I missed a piece of the configuration?
[pitdicker@localhost rand]$ adb devices
List of devices attached
ZY2239VRK2 device
[pitdicker@localhost rand]$ cargo dinghy devices
List of available devices for platform 'host':
Host { }
from dinghy.
Dinghy also builds on host now by default. Just add --platform <your platform name>
between cargo dinghy
and build test or bench
.
For example if you have the following in your ~/.dinghy/dinghy.toml (as explained in the Readme):
[platforms.android-armv7]
rustc_triple="armv7-linux-androideabi"
toolchain="<path to your armv7-linux-androideabi standalone toolchain>"
Then you can call cargo dinghy --platform android-armv7 build
from dinghy.
I had to install the latest version of adb
instead of the one that came with Fedora because --sync
was not working. The tests now run again!
But benchmarks still only give ok
as result instead of measurements...
cargo dinghy --platform android-armv7 bench
from dinghy.
Hi, thanks for the report, we have pushed a fix on the 0.3 branch. Feel free to try it :)
from dinghy.
Thanks for the fix! But I don't have luck with it yet, the benchmarks still only print ok
... Is there any information I can give to help?
from dinghy.
Indeed, I fixed ssh and not android. Sorry. Just pushed again :)
from dinghy.
It works, thank you very much!
from dinghy.
Related Issues (20)
- Share resource files between tests HOT 7
- No device support directory for iOS version 12.5 HOT 3
- deploy to iOS devices with ios-deploy HOT 2
- Duplicate executable file in ios *.app folder
- On the use `std::fs::ReadDir.next()` HOT 3
- Maintain CHANGELOG HOT 2
- tvOS simulator support HOT 1
- watchOS simulator support
- copy libc++_shared.so for Android tests HOT 2
- `undefined symbol: ANativeWindow_setBuffersGeometry` with visual tests using `wgpu` HOT 4
- Getting files generated by tests back? HOT 3
- Add macOS M1 binary to release CI HOT 2
- Faiiled to build what use ndk_context project HOT 3
- Use `xcrun devicectl` to deploy to iOS devices. HOT 2
- Dinghy hangs on macOS-14 runner HOT 1
- OpenHarmony support(ohos) HOT 1
- Support cargo-dinghy as a cargo test runner HOT 4
- Provide an example how to measure (code coverage) profiling data and save it on the host
- Run test on iOS failed: No such file or directory (os error 2) HOT 5
- xcrun: error: unable to find utility "devicectl", not a developer tool or in PATH HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dinghy.