Skip to content

Update pypi_release.yml with Python 3.12 #240

Update pypi_release.yml with Python 3.12

Update pypi_release.yml with Python 3.12 #240

Workflow file for this run

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