nostalgia296/Setup Go Android Environment
Setup Go and Android NDK for cross-compilation to Android, clone repo and run custom commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ndk-version | Android NDK version (e.g., android-ndk-r26b) | yes | — |
| go-version | Go version (e.g., 1.22.5) | yes | — |
| abi | Target ABI (arm64-v8a, armeabi-v7a, x86_64, x86) | yes | arm64-v8a |
| min-sdk | Minimum Android SDK version | no | 21 |
| gitrepo | GitHub repository URL to clone (e.g., https://github.com/user/repo.git) | no | — |
| cmd | Command to run inside the cloned repository directory | no | — |
| branch | Git branch to checkout (default: main) | no | main |
Outputs
| name | description |
|---|---|
| ndk-path | Path to installed NDK |
| cc-path | Path to C compiler |
| goarch | Go architecture target |
| repo-path | Path to cloned repository |