-
-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into move-window-docs
- Loading branch information
Showing
30 changed files
with
473 additions
and
404 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,15 +38,15 @@ concurrency: | |
jobs: | ||
build: | ||
name: ${{ matrix.arch }} | ||
runs-on: ubuntu-24.04 | ||
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
strategy: | ||
fail-fast: false # if a particular matrix build fails, don't skip the rest | ||
matrix: | ||
arch: [x86_64, i686] | ||
arch: [x86_64, i686, aarch64] | ||
|
||
env: | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
|
@@ -75,7 +75,7 @@ jobs: | |
|
||
- name: Build and push Docker image | ||
if: steps.inspect.outcome == 'failure' | ||
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 | ||
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d | ||
with: | ||
context: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base | ||
file: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base/Dockerfile-${{ matrix.arch }} | ||
|
@@ -90,6 +90,8 @@ jobs: | |
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: ghcr.io/${{ github.repository }}_x86_64:${{ steps.meta.outputs.version }} | ||
CIBW_MANYLINUX_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }} | ||
CIBW_MANYLINUX_PYPY_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }} | ||
CIBW_MANYLINUX_AARCH64_IMAGE: ghcr.io/${{ github.repository }}_aarch64:${{ steps.meta.outputs.version }} | ||
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: ghcr.io/${{ github.repository }}_aarch64:${{ steps.meta.outputs.version }} | ||
|
||
uses: pypa/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,6 @@ on: | |
branches: 'release/**' | ||
|
||
jobs: | ||
manylinux-aarch64: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
pipeline_id: ${{ steps.circleci.outputs.id }} | ||
|
||
steps: | ||
- name: Trigger CircleCI builds on release | ||
id: circleci | ||
uses: CircleCI-Public/[email protected] | ||
env: | ||
CCI_TOKEN: ${{ secrets.CCI_TOKEN }} | ||
|
||
manylinux: | ||
uses: ./.github/workflows/build-manylinux.yml | ||
|
||
|
@@ -46,14 +34,6 @@ jobs: | |
path: pygame-wheels | ||
merge-multiple: true | ||
|
||
- name: Download manylinux-aarch64 artifacts from CircleCI | ||
continue-on-error: true # incase things don't work here, can manually handle it | ||
run: > | ||
python3 buildconfig/ci/circleci/pull_circleci_artifacts.py | ||
${{ secrets.CCI_TOKEN }} | ||
${{ needs.manylinux-aarch64.outputs.pipeline_id }} | ||
pygame-wheels | ||
# Strips 'release/' from the ref_name, this helps us access the version | ||
# name as 'steps.ver.outputs.VER' | ||
- name: Get version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from typing import Union | ||
from typing import Union, Optional | ||
|
||
def get_num_devices() -> int: ... | ||
def get_device(index: int) -> int: ... | ||
def get_num_fingers(device_id: int) -> int: ... | ||
def get_finger(touchid: int, index: int) -> dict[str, Union[int, float]]: ... | ||
def get_device(index: int, /) -> int: ... | ||
def get_num_fingers(device_id: int, /) -> int: ... | ||
def get_finger(touchid: int, index: int) -> Optional[dict[str, Union[int, float]]]: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.