File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 4141 - run : npm run build
4242 - run : npm test --workspace gyp-to-cmake --workspace react-native-node-api-cmake --workspace react-native-node-api-modules
4343
44+ test-linux-addon-examples :
45+ name : Run addon examples on Linux
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v4
49+ - uses : actions/setup-node@v4
50+ with :
51+ node-version : lts/jod
52+ - name : Set up JDK 17
53+ uses : actions/setup-java@v3
54+ with :
55+ java-version : " 17"
56+ distribution : " temurin"
57+ - name : Setup Android SDK
58+ uses : android-actions/setup-android@v3
59+ # Version here should match the one in React Native template and packages/react-native-node-api-cmake/src/cli.ts
60+ - 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"
65+ - run : npm ci
66+ - run : npm run build
67+ - run : npm run copy-node-api-headers --workspace react-native-node-api-modules
68+ - run : npm run build-weak-node-api --workspace react-native-node-api-modules
69+ - run : npm run generate-weak-node-api-injector --workspace react-native-node-api-modules
70+ - run : npm test --workspace react-native-node-addon-examples
71+
4472 test-windows-addon-examples :
4573 name : Run addon examples on Windows
4674 runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments