Skip to content

Commit 80614dd

Browse files
committed
use clang from the Android NDK
1 parent 53886f7 commit 80614dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ jobs:
5858
uses: android-actions/setup-android@v3
5959
# Version here should match the one in React Native template and packages/react-native-node-api-cmake/src/cli.ts
6060
- run: sdkmanager --install "ndk;27.1.12297006"
61-
- name: Install LLVM and Clang
62-
uses: KyleMayes/install-llvm-action@v2
63-
with:
64-
version: "18.1"
61+
# Add Android NDK's clang to PATH
62+
- run: echo "$ANDROID_HOME/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/bin" >> $GITHUB_PATH
6563
- run: npm ci
6664
- run: npm run build
6765
- run: npm run copy-node-api-headers --workspace react-native-node-api-modules

0 commit comments

Comments
 (0)