Comments (8)
That the rule is incidentally creating build files in the real NDK directory is a known issue: #3
I'll work on solving that next
from rules_android_ndk.
The terraform changes in bazelbuild/continuous-integration#1425 should solve this, it will create a pipeline for this, someone will have to hook up webhooks though
from rules_android_ndk.
I have set up the webhook, the presubmit is available for PRs now, see #13 and https://buildkite.com/bazel/rules-android-ndk/builds/2
But there are some failures, it looks like you are trying to put a BUILD file in the Android SDK installation directory? On Bazel CI, that directory is mounted in the docker container from the host VM, so it's not writable. Is there a way to avoid doing that?
from rules_android_ndk.
Looks like we'll also need to update the version of the NDK on CI:
#13 (comment)
from rules_android_ndk.
Presubmit should now work for linux:
#14 (comment)
It may take some time for mac to be set up
Some commits in the course of setting this up:
40e17b3
9caf964
254cb3b
2a3c13b
from rules_android_ndk.
I think we're all good here
from rules_android_ndk.
it would be good to also run the apk that's built on an emulator, to make sure the artifact actually works, something like what's done here:
https://github.com/DanAlbert/ndk-app-template/blob/f1558c77f4ac563ccfc1dbd41222d4616900b5ba/.github/workflows/build.yml#L63
but that can be its own issue
from rules_android_ndk.
from rules_android_ndk.
Related Issues (20)
- Support cc toolchain resolution HOT 1
- Error when using unsupported NDK directory HOT 1
- Run app in an emulator in presubmit tests
- Does this project support bazel 5.2.0? HOT 19
- Remove "ndk/"-prefixed include path compatibility workarounds HOT 2
- Missing "default_crosstool" or "toolchain-libcpp" causing some Google dependencies fail to build for Android.
- How to correctly link to liblog? HOT 3
- Cross compilation issues with FFMPEG with Android HOT 4
- NDK 26 support HOT 10
- Building cc_binary with rules unable to find cc_toolchain_suite
- Adding downloading of NDK inside Bazel HOT 5
- ERROR: --nouse_workers_with_dexbuilder :: Unrecognized option: --nouse_workers_with_dexbuilder with Bazel@HEAD HOT 1
- NDK headers HOT 5
- Is Android NDK r25c support? HOT 3
- `std::cout` isn't initialized before any user-defined static initialization HOT 2
- Proposal: use a path relative to `ANDROID_HOME` like in Android Gradle Plugins
- Building with `--android_platforms=//:arm64` returns error. HOT 1
- [Bazel CI] Unable to fetch rules_android_maven: "empty string" HOT 1
- [Bazel CI] Error: Both --enable_bzlmod and --enable_workspace are disabled
- [Bazel CI] Error : Compilation failed due to missing `AndroidBinaryNativeLibsInfo` definition HOT 2
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 rules_android_ndk.