Skip to content

Commit

Permalink
Fix _sdl2.controller bug on old SDL versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankith committed Nov 6, 2021
1 parent d6291ab commit 50c4f87
Show file tree
Hide file tree
Showing 9 changed files with 4,020 additions and 3,179 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
fail-fast: false # if a particular matrix build fails, don't skip the rest
matrix:
arch: ['x64', 'x86', 'aarch64']
tag: ['-manylinux1-', '-manylinux2010-', -manylinux2014-]
tag: ['manylinux1', 'manylinux2010', 'manylinux2014']

exclude:
# aarch64 only with manylinux2014 for now
- arch: 'aarch64'
tag: '-manylinux1-'
tag: 'manylinux1'
- arch: 'aarch64'
tag: '-manylinux2010-'
tag: 'manylinux2010'

steps:
- uses: actions/checkout@v2.3.4
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Build manylinux wheels
run: |
cd buildconfig/manylinux-build
make pull${{ matrix.tag }}${{ matrix.arch }} wheels${{ matrix.tag }}${{ matrix.arch }}
make pull-${{ matrix.tag }}-${{ matrix.arch }} wheels-${{ matrix.tag }}-${{ matrix.arch }}
cd ../..
mkdir -p dist/
cp buildconfig/manylinux-build/wheelhouse/*.whl dist/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Make sdist and install it
run: |
python3 setup.py sdist
pip3 install dist/pygame-*.tar.gz
pip3 install dist/pygame-*.tar.gz -vv
- name: Run tests
env:
Expand Down
1,132 changes: 592 additions & 540 deletions src_c/_sdl2/controller.c

Large diffs are not rendered by default.

241 changes: 170 additions & 71 deletions src_c/_sdl2/sdl2.c

Large diffs are not rendered by default.

67 changes: 51 additions & 16 deletions src_c/_sdl2/video.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 50c4f87

Please sign in to comment.