Upgraded pytorch to 2.3.0 latest version #44
Workflow file for this run
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: 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 2019, | |
os: windows-2019, | |
cmake: '3.19.0' | |
} | |
- { | |
name: Windows MSVC 2022, | |
os: windows-2022, | |
cmake: '3.24.2' | |
} | |
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 |