Merge pull request #2947 from alibaba/feature/sync #256
This file contains 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: windows | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/**' | |
paths: | |
- 'source/**' | |
- 'express/**' | |
- 'test/**' | |
- '.github/workflows/windows.yml' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'source/**' | |
- 'express/**' | |
- 'test/**' | |
- '.github/workflows/windows.yml' | |
concurrency: | |
group: windows-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
windows_build_test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: test | |
run: | | |
mkdir build && cd build | |
cmake -DMNN_BUILD_TEST=ON .. | |
cmake --build . -j4 |