Merge pull request #2626 from jokerz0624/support_a17pro #196
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: macos | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/**' | |
paths: | |
- 'source/**' | |
- 'express/**' | |
- 'test/**' | |
- '.github/workflows/macos.yml' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'source/**' | |
- 'express/**' | |
- 'test/**' | |
- '.github/workflows/macos.yml' | |
concurrency: | |
group: macos-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
macos_buil_test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build | |
run: | | |
mkdir build && cd build | |
cmake -DMNN_BUILD_TEST=ON .. | |
make -j4 | |
- name: test | |
run: cd build && ./run_test.out |