Skip to content

Commit

Permalink
drop riscv64 atm
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Dec 26, 2024
1 parent 1516efc commit 06ff1ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,20 +304,11 @@ jobs:
`cat ../options.txt` -DBUILD_opencv_world=OFF -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..
cmake --build . -j $(nproc)
cmake --build . --target install
- name: build-riscv64
run: |
cd ${{ env.SOURCE_DIR }}
mkdir build-riscv64 && cd build-riscv64
cmake ${{ env.COMMON_CMAKE_OPTIONS }} -DANDROID_ABI="riscv64" \
`cat ../options.txt` -DBUILD_opencv_world=OFF -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..
cmake --build . -j $(nproc)
cmake --build . --target install
- name: package
run: |
mkdir ${{ env.PACKAGE_NAME }}
cp -rf ${{ env.SOURCE_DIR }}/build-x86/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-x86_64/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-riscv64/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-armeabi-v7a/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-arm64-v8a/install/* ${{ env.PACKAGE_NAME }}/
zip -9 -r ${{ env.PACKAGE_NAME }}.zip ${{ env.PACKAGE_NAME }}
Expand Down Expand Up @@ -349,13 +340,6 @@ jobs:
cmake ${{ env.COMMON_CMAKE_OPTIONS }} -DANDROID_ABI="x86_64" \
-DOpenCV_DIR=$GITHUB_WORKSPACE/${{ env.PACKAGE_NAME }}/sdk/native/jni ..
cmake --build . -j $(nproc)
- name: test-riscv64
run: |
cd test
mkdir build-riscv64 && cd build-riscv64
cmake ${{ env.COMMON_CMAKE_OPTIONS }} -DANDROID_ABI="riscv64" \
-DOpenCV_DIR=$GITHUB_WORKSPACE/${{ env.PACKAGE_NAME }}/sdk/native/jni ..
cmake --build . -j $(nproc)
- name: upload
uses: actions/upload-artifact@v4
with:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,20 +304,11 @@ jobs:
`cat ../options.txt` -DBUILD_opencv_world=OFF -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..
cmake --build . -j $(nproc)
cmake --build . --target install
- name: build-riscv64
run: |
cd ${{ env.SOURCE_DIR }}
mkdir build-riscv64 && cd build-riscv64
cmake ${{ env.COMMON_CMAKE_OPTIONS }} -DANDROID_ABI="riscv64" \
`cat ../options.txt` -DBUILD_opencv_world=OFF -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..
cmake --build . -j $(nproc)
cmake --build . --target install
- name: package
run: |
mkdir ${{ env.PACKAGE_NAME }}
cp -rf ${{ env.SOURCE_DIR }}/build-x86/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-x86_64/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-riscv64/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-armeabi-v7a/install/* ${{ env.PACKAGE_NAME }}/
cp -rf ${{ env.SOURCE_DIR }}/build-arm64-v8a/install/* ${{ env.PACKAGE_NAME }}/
zip -9 -r ${{ env.PACKAGE_NAME }}.zip ${{ env.PACKAGE_NAME }}
Expand Down Expand Up @@ -349,13 +340,6 @@ jobs:
cmake ${{ env.COMMON_CMAKE_OPTIONS }} -DANDROID_ABI="x86_64" \
-DOpenCV_DIR=$GITHUB_WORKSPACE/${{ env.PACKAGE_NAME }}/sdk/native/jni ..
cmake --build . -j $(nproc)
- name: test-riscv64
run: |
cd test
mkdir build-riscv64 && cd build-riscv64
cmake ${{ env.COMMON_CMAKE_OPTIONS }} -DANDROID_ABI="riscv64" \
-DOpenCV_DIR=$GITHUB_WORKSPACE/${{ env.PACKAGE_NAME }}/sdk/native/jni ..
cmake --build . -j $(nproc)
- name: upload
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 06ff1ad

Please sign in to comment.