Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed May 23, 2024
1 parent 8ef9f05 commit 3250ee7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/windows-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

env:
UseMultiToolTask: true
NCNN_CMAKE_OPTIONS: -DNCNN_BUILD_TESTS=OFF -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_VULKAN=ON
NCNN_CMAKE_OPTIONS: -DNCNN_BUILD_TESTS=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_VULKAN=ON

steps:
- uses: actions/checkout@v4
Expand All @@ -48,12 +48,16 @@ jobs:
mkdir build-x86; cd build-x86
cmake -T ClangCL -A Win32 ${{ env.NCNN_CMAKE_OPTIONS }} ..
cmake --build . --config Release -j 4
- name: x86-test
run: cd build-x86; ctest -C Release --output-on-failure -j 4

- name: x64
run: |
mkdir build-x64; cd build-x64
cmake -T ClangCL -A x64 ${{ env.NCNN_CMAKE_OPTIONS }} ..
cmake --build . --config Release -j 4
- name: x64-test
run: cd build-x64; ctest -C Release --output-on-failure -j 4

- name: arm64
run: |
Expand Down

0 comments on commit 3250ee7

Please sign in to comment.