Skip to content

Commit 2370ea5

Browse files
authored
Merge branch 'pygame-community:main' into wasm-static-multiphase-init
2 parents 29c8011 + 3f694dc commit 2370ea5

22 files changed

+200
-64
lines changed

.github/workflows/build-debian-multiarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
- '!.github/workflows/build-debian-multiarch.yml'
3333

3434
concurrency:
35-
group: ${{ github.workflow }}-${{ github.ref }}
35+
group: ${{ github.workflow }}-${{ github.ref }}-debian-multiarch
3636
cancel-in-progress: true
3737

3838
jobs:

.github/workflows/build-emsdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
- '!.github/workflows/build-emsdk.yml'
2929

3030
concurrency:
31-
group: ${{ github.workflow }}-${{ github.ref }}
31+
group: ${{ github.workflow }}-${{ github.ref }}-emsdk
3232
cancel-in-progress: true
3333

3434
jobs:

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
workflow_call:
3333

3434
concurrency:
35-
group: ${{ github.workflow }}-${{ github.ref }}
35+
group: ${{ github.workflow }}-${{ github.ref }}-macos
3636
cancel-in-progress: true
3737

3838
jobs:
@@ -169,6 +169,6 @@ jobs:
169169

170170
- uses: actions/upload-artifact@v3
171171
with:
172-
name: pygame-wheels
172+
name: pygame-wheels-macos
173173
path: ./wheelhouse/*.whl
174174

.github/workflows/build-manylinux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
workflow_call:
3333

3434
concurrency:
35-
group: ${{ github.workflow }}-${{ github.ref }}
35+
group: ${{ github.workflow }}-${{ github.ref }}-manylinux
3636
cancel-in-progress: true
3737

3838
jobs:
@@ -124,6 +124,6 @@ jobs:
124124
- name: Upload dist
125125
uses: actions/upload-artifact@v3
126126
with:
127-
name: pygame-manylinux-wheels
127+
name: pygame-wheels-manylinux
128128
path: ./wheelhouse/*.whl
129129

.github/workflows/build-ubuntu-sdist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ on:
3939
workflow_call:
4040

4141
concurrency:
42-
group: ${{ github.workflow }}-${{ github.ref }}
42+
group: ${{ github.workflow }}-${{ github.ref }}-ubuntu-sdist
4343
cancel-in-progress: true
4444

4545
jobs:
@@ -88,6 +88,6 @@ jobs:
8888
if: matrix.os == 'ubuntu-20.04' # upload sdist only once
8989
uses: actions/upload-artifact@v3
9090
with:
91-
name: pygame-sdist
91+
name: pygame-wheels-sdist
9292
path: dist/*.tar.gz
9393

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
workflow_call:
3333

3434
concurrency:
35-
group: ${{ github.workflow }}-${{ github.ref }}
35+
group: ${{ github.workflow }}-${{ github.ref }}-windows
3636
cancel-in-progress: true
3737

3838
jobs:
@@ -163,5 +163,5 @@ jobs:
163163
164164
- uses: actions/upload-artifact@v3
165165
with:
166-
name: pygame-wheels
166+
name: pygame-wheels-windows
167167
path: ./wheelhouse/*.whl

.github/workflows/cppcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- 'src_c/**'
1414

1515
concurrency:
16-
group: ${{ github.workflow }}-${{ github.ref }}
16+
group: ${{ github.workflow }}-${{ github.ref }}-cppcheck
1717
cancel-in-progress: true
1818

1919
# TODO: Any more static checkers can be added here

.github/workflows/format-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
- '**.rst'
2222

2323
concurrency:
24-
group: ${{ github.workflow }}-${{ github.ref }}
24+
group: ${{ github.workflow }}-${{ github.ref }}-format-lint
2525
cancel-in-progress: true
2626

2727
jobs:

.github/workflows/release-gh-draft.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525

2626
- name: Download all artifacts
2727
uses: actions/download-artifact@v3
28-
with:
29-
path: dist
3028

3129
# Strips 'release/' from the ref_name, this helps us access the version
3230
# name as 'steps.ver.outputs.VER'
@@ -39,7 +37,7 @@ jobs:
3937
with:
4038
draft: true
4139
prerelease: ${{ contains(steps.ver.outputs.VER, 'dev') }}
42-
files: dist/*
40+
files: pygame-wheels-*/*
4341
name: '${{ steps.ver.outputs.VER }} - {TODO put a title here} [DRAFTED BY CI]'
4442
tag_name: ${{ steps.ver.outputs.VER }}
4543
target_commitish: ${{ github.ref_name }}

buildconfig/stubs/pygame/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ from .constants import (
181181
FINGERDOWN as FINGERDOWN,
182182
FINGERMOTION as FINGERMOTION,
183183
FINGERUP as FINGERUP,
184+
FONT_CENTER as FONT_CENTER,
185+
FONT_LEFT as FONT_LEFT,
186+
FONT_RIGHT as FONT_RIGHT,
184187
FULLSCREEN as FULLSCREEN,
185188
GL_ACCELERATED_VISUAL as GL_ACCELERATED_VISUAL,
186189
GL_ACCUM_ALPHA_SIZE as GL_ACCUM_ALPHA_SIZE,

0 commit comments

Comments
 (0)