chore: update checkout action version to v5 (#310) #414
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: uvwasi Android BUILD CI | |
| on: [push, pull_request] | |
| jobs: | |
| build-android: | |
| runs-on: ubuntu-latest | |
| container: reactnativecommunity/react-native-android:7.0 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Envinfo | |
| run: npx envinfo | |
| - name: Build android arm64 | |
| # see build options you can use in https://developer.android.com/ndk/guides/cmake | |
| # quickly debug on your local docker | |
| # docker run -it -v $PWD:/pwd reactnativecommunity/react-native-android:7.0 bash | |
| run: | | |
| mkdir build && cd build | |
| cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_GRADLE/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="arm64-v8a" -DANDROID_PLATFORM=android-21 .. | |
| cmake --build . |