Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Apr 3, 2024
1 parent 1576e71 commit ae8d349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
env:
NCNN_CMAKE_OPTIONS: |
-DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/android-ndk-r16b/build/cmake/android.toolchain.cmake \
-DANDROID_PLATFORM=android-21 \
-DANDROID_PLATFORM=android-14 \
-DCMAKE_INSTALL_PREFIX=install \
-DCMAKE_BUILD_TYPE=Release \
-DNCNN_VULKAN=ON \
Expand All @@ -120,7 +120,7 @@ jobs:
- name: armeabi
run: |
mkdir build-armeabi && cd build-armeabi
cmake ${{ env.NCNN_CMAKE_OPTIONS }} -DANDROID_ABI="armeabi" ..
cmake ${{ env.NCNN_CMAKE_OPTIONS }} -DANDROID_ABI="armeabi" -DNCNN_VULKAN=OFF ..
cmake --build . -j $(nproc)
- name: mips
run: |
Expand All @@ -141,7 +141,7 @@ jobs:
- name: armeabi-shared
run: |
mkdir build-armeabi-shared && cd build-armeabi-shared
cmake ${{ env.NCNN_CMAKE_OPTIONS }} -DANDROID_ABI="armeabi" -DNCNN_SHARED_LIB=ON ..
cmake ${{ env.NCNN_CMAKE_OPTIONS }} -DANDROID_ABI="armeabi" -DNCNN_VULKAN=OFF -DNCNN_SHARED_LIB=ON ..
cmake --build . -j $(nproc)
- name: mips-shared
run: |
Expand Down

0 comments on commit ae8d349

Please sign in to comment.