From f08375b37f54489b288f22b78104b177d7c6db48 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 19 Aug 2023 16:36:44 -0400 Subject: [PATCH] Fix CI Python failure. --- .github/workflows/ci_build.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index 57ac3cd..8c91694 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -9,21 +9,23 @@ jobs: - { os: windows-2022, generator: Visual Studio 17 2022, - arch: Win32, + cmake-arch: Win32, + python-arch: x86, str: windows-x86, blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20221113/blender-2.79.0-git20221114.f970f178c093-windows32.zip", } - { os: windows-2022, generator: Visual Studio 17 2022, - arch: x64, + cmake-arch: x64, + python-arch: x64, str: windows-x64, blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20221113/blender-2.79.0-git20221114.f970f178c093-windows64.zip", } env: CMAKE_GENERATOR: ${{ matrix.cfg.generator }} - CMAKE_GENERATOR_PLATFORM: ${{ matrix.cfg.arch }} + CMAKE_GENERATOR_PLATFORM: ${{ matrix.cfg.cmake-arch }} runs-on: ${{ matrix.cfg.os }} steps: @@ -32,6 +34,12 @@ jobs: with: path: korman + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: "3.7" + architecture: ${{ matrix.cfg.python-arch }} + - name: Download Blender run: | curl --location "${{ matrix.cfg.blender-url }}" --output blender.zip