Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
/ setup-ndk Public archive
forked from nttld/setup-ndk

Setup your GitHub Actions workflow with a specific version of the Android NDK

License

Notifications You must be signed in to change notification settings

HavenEngineering/setup-ndk

 
 

Repository files navigation

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: r21e
  - 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: r21e
      add-to-path: false
  - run: ./build.sh
    env:
      ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

About

Setup your GitHub Actions workflow with a specific version of the Android NDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%