From 0621f8a1dd5a3520d794d8e9c9ddc2a3786a7d6f Mon Sep 17 00:00:00 2001 From: KerstinKeller Date: Wed, 8 Nov 2023 09:31:05 +0100 Subject: [PATCH] GH-Actions: Add Python 3.12 wheels. --- .github/workflows/build-windows.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index b529e0ec1b..85aefe22f2 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -180,6 +180,18 @@ jobs: # re-find Python, after we have changed the venv from the outside. The # alternative would be to clean everything, which would cause an unnecessary # rebuild of eCAL and HDF5 for each python Version. + - name: Build Python 3.12 Wheel + run: | + mkdir ".venv_312" + py -3.12 -m venv ".venv_312" + CALL ".venv_312\Scripts\activate.bat" + pip install wheel + cmake %GITHUB_WORKSPACE% -G "Visual Studio 16 2019" -A x64 -T v142 -DPython_FIND_VIRTUALENV=FIRST + cmake %GITHUB_WORKSPACE% -G "Visual Studio 16 2019" -A x64 -T v142 -DPython_FIND_VIRTUALENV=ONLY + cmake --build . --target create_python_wheel --config Release + shell: cmd + working-directory: ${{ runner.workspace }}/_build/complete + - name: Build Python 3.11 Wheel run: | mkdir ".venv_311"