ravinderjangra / android-ndk-toolchain-setup Goto Github PK
View Code? Open in Web Editor NEWGitHub action to setup Android NDK toolchain to native builds.
License: MIT License
GitHub action to setup Android NDK toolchain to native builds.
License: MIT License
Using v2 and use NDK 21
https://github.com/hannesa2/CVScanner/pull/20/files#diff-508ed730a77db23e1d8deff889f9fe6bR33-R41
does not take use of it
https://github.com/hannesa2/CVScanner/pull/20/checks?check_run_id=607611274
It's still NDK 18
I tried your action with
name: CI Android
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: NDK
uses: actions/[email protected]
with:
api: '21'
arch: 'x86'
install-location: 'toolchains'
force: true
- name: Build with Gradle
run: ./gradlew build
But I run into https://github.com/marianmoldovan/panoramagl/runs/477801639
Do you have any clue, what I did wrong ?
Sorry, I didn't looked into the code, when I specify
with:
api: '21'
does it mean I specify NDK version in build.gradle
like
android {
...
ndkVersion '21.0.6113669'
}
and can use NDK 21.0.6113669
?
Or is it the Emulator version ? (I guess not)
Btw, the README.md
is a little bit rudimentary and wrong
On macOS I found it here. But there can be more then one !
# find . -name make*.py
./sdk/ndk/21.0.6113669/build/tools/make_standalone_toolchain.py
I've no skills in Python, so I don't know how to make it work in Python.
In shell I would to
$(find $ANDROID_HOME/build-tools -name make_standalone_toolchain.py | sort | tail -1)
(= Search for all available, sort by most recent and take first)
I am attempting to try this action to setup NDK as follows:
- name: Install Android NDK Toolchain
uses: actions/[email protected]
if: runner.os == 'Linux'
with:
arch: 'x86'
install-location: 'toolchains'
This results in error:
##[warning]Failed to download action 'https://api.github.com/repos/actions/android-ndk-toolchain-setup/tarball/v0.1'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 12.498 seconds before retry.
##[warning]Failed to download action 'https://api.github.com/repos/actions/android-ndk-toolchain-setup/tarball/v0.1'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 28.368 seconds before retry.
##[error]Response status code does not indicate success: 404 (Not Found).
As suggested in #1 I tried using uses: ravinderjangra/[email protected]
, but it gave the same error. I noticed this is also being used in your workflow.
Can you please clarify?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.