Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Aug 13, 2024
1 parent 8200a31 commit e06d68e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2102,22 +2102,21 @@ jobs:
cmake --build . --config Release -j 4
cmake --build . --config Release --target install
- name: build-arm
if: matrix.opt.id == 'vs2019' || matrix.opt.id == 'vs2022'
if: matrix.opt.toolset-version == 'v142' || matrix.opt.toolset-version == 'v143'
run: |
mkdir build-arm; cd build-arm
cmake ${{ env.NCNN_CMAKE_OPTIONS }} -A arm ..
cmake --build . --config Release -j 4
cmake --build . --config Release --target install
- name: build-arm64
if: matrix.opt.id == 'vs2019' || matrix.opt.id == 'vs2022'
if: matrix.opt.toolset-version == 'v142' || matrix.opt.toolset-version == 'v143'
run: |
mkdir build-arm64; cd build-arm64
cmake ${{ env.NCNN_CMAKE_OPTIONS }} -A arm64 ..
cmake --build . --config Release -j 4
cmake --build . --config Release --target install
- name: package
if: matrix.opt.id == 'vs2015' || matrix.opt.id == 'vs2017'
if: matrix.opt.toolset-version == 'v140' || matrix.opt.toolset-version == 'v141'
run: |
mkdir ${{ env.PACKAGENAME }}
mkdir ${{ env.PACKAGENAME }}/x86
Expand All @@ -2126,7 +2125,7 @@ jobs:
Copy-Item -Verbose -Recurse -Path "build-x64\install\*" -Destination "${{ env.PACKAGENAME }}\x64"
7z a -r ${{ env.PACKAGENAME }}.zip ${{ env.PACKAGENAME }}
- name: package
if: matrix.opt.id == 'vs2019' || matrix.opt.id == 'vs2022'
if: matrix.opt.toolset-version == 'v142' || matrix.opt.toolset-version == 'v143'
run: |
mkdir ${{ env.PACKAGENAME }}
mkdir ${{ env.PACKAGENAME }}/x86
Expand Down

0 comments on commit e06d68e

Please sign in to comment.