Skip to content

Commit

Permalink
Update sdl2 version and add Python 3.12 to supported matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Nov 26, 2023
1 parent 2ceeb0e commit 6dfe078
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/windows_sdl2_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
env:
PACKAGE_ARCH: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Cache deps
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: kivy_build_cache
key: cache-packages-sdl2-${{ matrix.arch }}-${{ hashFiles('win/sdl2.py') }}
Expand All @@ -52,19 +52,19 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' , '3.12' ]
arch: ['x64', 'x86']
env:
PACKAGE_ARCH: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: Cache deps
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: kivy_build_cache
key: cache-packages-sdl2-${{ matrix.arch }}-${{ hashFiles('win/sdl2.py') }}
Expand All @@ -77,7 +77,7 @@ jobs:
. .\ci\windows_ci.ps1
Create-Packages
- name: Upload wheels as artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v3
with:
name: sdl2_wheels
path: dist
Expand Down
2 changes: 1 addition & 1 deletion ci/windows_ci.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function Download-Packages() {


function Create-Packages() {
python -m pip install pip wheel<0.38.0 setuptools --upgrade
python -m pip install pip wheel setuptools --upgrade
python -m "win.$env:PACKAGE_TARGET" build_path "$(pwd)\$env:KIVY_BUILD_DIR" arch $env:PACKAGE_ARCH package $env:PACKAGE_TARGET output "$(pwd)\dist" cache "$(pwd)\$env:KIVY_BUILD_CACHE"
dir "$(pwd)\dist"
rm "$(pwd)\dist\*tar.gz"
Expand Down
4 changes: 2 additions & 2 deletions win/sdl2.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from os import walk
from .common import *

__version__ = '0.6.0'
__version__ = '0.7.0'

sdl2_ver = '2.26.4'
sdl2_ver = '2.28.5'
sdl2_mixer_ver = '2.6.3'
sdl2_ttf_ver = '2.20.2'
sdl2_image_ver = '2.6.3'
Expand Down

0 comments on commit 6dfe078

Please sign in to comment.