Skip to content

NDK is not set up properly with the 1.6.0 release #576

@marekszulik

Description

@marekszulik

Our repo was using the action and was pointed at the v1 tag, so the recent v1.6.0 release got picked up automatically. That caused our builds to fail with the following error:

C/C++: CMake Error at CMakeLists.txt:1 (project):
C/C++:   The CMAKE_C_COMPILER:
C/C++:     /usr/local/lib/***/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
C/C++:   is not a full path to an existing compiler tool.
C/C++:   Tell CMake where to find the compiler by setting either the environment
C/C++:   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
C/C++:   the compiler, or to the compiler name if it is in the PATH.
C/C++: CMake Error at CMakeLists.txt:1 (project):
C/C++:   The CMAKE_CXX_COMPILER:
C/C++:     /usr/local/lib/***/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
C/C++:   is not a full path to an existing compiler tool.
C/C++:   Tell CMake where to find the compiler by setting either the environment
C/C++:   variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
C/C++:   to the compiler, or to the compiler name if it is in the PATH.

Our action setup:

      - name: Setup NDK
        uses: nttld/setup-ndk@v1
        id: setup-ndk
        with:
          ndk-version: r27
          link-to-sdk: true
          local-cache: true

For the time being we've reverted to v1.5.0 and it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions