ci: add Windows CUDA 12 build workflow (conda toolkit, RTX 4070) #2
This file contains hidden or 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: mac-build | |
| on: | |
| push: | |
| branches: | |
| - ci/** | |
| - main | |
| - dev | |
| - release-0.2 | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| - release-0.2 | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: macOS CPU | |
| runs-on: macos-14 | |
| env: | |
| BUILD_DIR: build/ci-macos-cpu | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Check loader/catalog sync | |
| run: | | |
| python3 tools/check_loader_catalog_sync.py --self-test | |
| python3 tools/check_loader_catalog_sync.py | |
| - name: Configure | |
| run: | | |
| cmake -S . -B "$BUILD_DIR" \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DENGINE_ENABLE_CUDA=OFF \ | |
| -DENGINE_ENABLE_VULKAN=OFF \ | |
| -DENGINE_ENABLE_METAL=OFF \ | |
| -DENGINE_ENABLE_OPENMP=OFF \ | |
| -DGGML_OPENMP=OFF | |
| - name: Build | |
| run: | | |
| cmake --build "$BUILD_DIR" \ | |
| --parallel "$(sysctl -n hw.logicalcpu)" \ | |
| --target audiocpp_cli audiocpp_server audiocpp_gguf |