Skip to content

Commit c52393d

Browse files
committed
Bump to bookworm, preinstall meson-python
1 parent 5979754 commit c52393d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ concurrency:
3737

3838
jobs:
3939
build-multiarch:
40-
name: Debian (Bullseye - 11) [${{ matrix.arch }}]
40+
name: Debian (Bookworm - 12) [${{ matrix.arch }}]
4141
runs-on: ubuntu-22.04
4242

4343
strategy:
@@ -50,11 +50,11 @@ jobs:
5050
- uses: actions/[email protected]
5151

5252
- name: Build sources and run tests
53-
uses: uraimo/[email protected].1
53+
uses: uraimo/[email protected].2
5454
id: build
5555
with:
5656
arch: ${{ matrix.arch }}
57-
distro: bullseye
57+
distro: bookworm
5858

5959
# Not required, but speeds up builds
6060
githubToken: ${{ github.token }}
@@ -79,14 +79,18 @@ jobs:
7979
apt-get upgrade -y
8080
apt-get install build-essential libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev fontconfig -y
8181
apt-get install python3-setuptools python3-dev python3-pip python3-wheel python3-sphinx -y
82+
apt-get install meson -y
83+
pip3 install meson-python --break-system-packages
8284
83-
# Build a wheel, install it for running unit tests
85+
# Build a wheel, install it for running unit tests.
86+
# --no-build-isolation is passed so that preinstalled meson-python can be used
87+
# (done for optimization reasons)
8488
run: |
8589
echo "\nBuilding pygame wheel\n"
8690
python3 setup.py docs
87-
pip3 wheel . --wheel-dir /artifacts -vvv
91+
pip3 wheel . --no-build-isolation --wheel-dir /artifacts -vvv
8892
echo "\nInstalling wheel\n"
89-
pip3 install --no-index --pre --find-links /artifacts pygame-ce
93+
pip3 install --no-index --pre --break-system-packages --find-links /artifacts pygame-ce
9094
echo "\nRunning tests\n"
9195
export SDL_VIDEODRIVER=dummy
9296
export SDL_AUDIODRIVER=disk

0 commit comments

Comments
 (0)