Browse Source

Fix CI Python failure.

pull/377/head
Adam Johnson 1 year ago
parent
commit
f08375b37f
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 14
      .github/workflows/ci_build.yml

14
.github/workflows/ci_build.yml

@ -9,21 +9,23 @@ jobs:
- { - {
os: windows-2022, os: windows-2022,
generator: Visual Studio 17 2022, generator: Visual Studio 17 2022,
arch: Win32, cmake-arch: Win32,
python-arch: x86,
str: windows-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", blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20221113/blender-2.79.0-git20221114.f970f178c093-windows32.zip",
} }
- { - {
os: windows-2022, os: windows-2022,
generator: Visual Studio 17 2022, generator: Visual Studio 17 2022,
arch: x64, cmake-arch: x64,
python-arch: x64,
str: windows-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", blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20221113/blender-2.79.0-git20221114.f970f178c093-windows64.zip",
} }
env: env:
CMAKE_GENERATOR: ${{ matrix.cfg.generator }} CMAKE_GENERATOR: ${{ matrix.cfg.generator }}
CMAKE_GENERATOR_PLATFORM: ${{ matrix.cfg.arch }} CMAKE_GENERATOR_PLATFORM: ${{ matrix.cfg.cmake-arch }}
runs-on: ${{ matrix.cfg.os }} runs-on: ${{ matrix.cfg.os }}
steps: steps:
@ -32,6 +34,12 @@ jobs:
with: with:
path: korman path: korman
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.7"
architecture: ${{ matrix.cfg.python-arch }}
- name: Download Blender - name: Download Blender
run: | run: |
curl --location "${{ matrix.cfg.blender-url }}" --output blender.zip curl --location "${{ matrix.cfg.blender-url }}" --output blender.zip

Loading…
Cancel
Save