Update pypi_release.yml with Python 3.12 #240
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 Cpp | |
on: [push, pull_request] | |
jobs: | |
# Building using the github runner environement directly. | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check swig | |
run: swig -version | |
- name: Check cmake | |
run: cmake --version | |
- name: Configure | |
run: cmake -S. -Bbuild -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_PYTHON=OFF | |
- name: Build | |
run: cmake --build build --config Release --target ALL_BUILD -- /verbosity:normal /maxcpucount | |
- name: Test (cd into build) | |
run: cd build && ctest --verbose -C Release | |
- name: Test | |
run: cmake --build build --config Release --target RUN_TESTS -- /verbosity:normal /maxcpucount | |
- name: Install | |
run: cmake --build build --config Release --target INSTALL -- /verbosity:normal /maxcpucount |