PyTorch 2.8 Upgrade (#128) #62
Workflow file for this run
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: ci-build-windows | |
| on: | |
| push: | |
| paths-ignore: | |
| - .dockerignore | |
| - .gitignore | |
| - .gitattributes | |
| - AUTHORS | |
| - CONTRIBUTING.md | |
| - docker-compose.yml | |
| - LICENSE | |
| - README.md | |
| - Dockerfile | |
| - images/* | |
| - docker/* | |
| pull_request: | |
| jobs: | |
| build-windows: | |
| name: ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| matrix: | |
| config: | |
| - { | |
| name: Windows MSVC 2022, | |
| os: windows-2022, | |
| cmake: '3.28.6' | |
| } | |
| - { | |
| name: Windows MSVC 2025, | |
| os: windows-2025, | |
| cmake: '3.28.6' | |
| } | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up CMake | |
| uses: jwlawson/actions-setup-cmake@v2 | |
| with: | |
| cmake-version: ${{ matrix.config.cmake }} | |
| - name: Cpplint | |
| run: cmake -P cmake/cpplint.cmake | |
| - name: Configure | |
| run: cmake -B build -A x64 -D DOWNLOAD_DATASETS=OFF | |
| - name: Build tutorials | |
| run: cmake --build build --config Release --parallel 4 |