Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Setup Android NDK

Actions
Setup an Android NDK environment by downloading and optionally caching it and adding it to the PATH
v1.0.2
Star (69)

Tags

 (1)

setup-ndk

build-test status

This action sets up an Android NDK environment by downloading and caching a version of the NDK and adding it to the PATH

Usage

See action.yml

Basic:

steps:
  - uses: actions/checkout@v2
  - uses: nttld/setup-ndk@v1
    with:
      ndk-version: r21d
  - runs: ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk

Using the installation path:

steps:
  - uses: actions/checkout@v2
  - uses: nttld/setup-ndk@v1
    id: setup-ndk
    with:
      ndk-version: r21d
  - run: |
      echo ${{ steps.setup-ndk.outputs.ndk-path }} > ./ndkpath.txt
      pwsh -Command ./build.ps1

Setup Android NDK is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup an Android NDK environment by downloading and optionally caching it and adding it to the PATH
v1.0.2

Tags

 (1)

Setup Android NDK is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.