@@ -37,7 +37,7 @@ concurrency:
37
37
38
38
jobs :
39
39
build-multiarch :
40
- name : Debian (Bullseye - 11 ) [${{ matrix.arch }}]
40
+ name : Debian (Bookworm - 12 ) [${{ matrix.arch }}]
41
41
runs-on : ubuntu-22.04
42
42
43
43
strategy :
@@ -50,11 +50,11 @@ jobs:
50
50
51
51
52
52
- name : Build sources and run tests
53
-
53
+
54
54
id : build
55
55
with :
56
56
arch : ${{ matrix.arch }}
57
- distro : bullseye
57
+ distro : bookworm
58
58
59
59
# Not required, but speeds up builds
60
60
githubToken : ${{ github.token }}
@@ -79,14 +79,18 @@ jobs:
79
79
apt-get upgrade -y
80
80
apt-get install build-essential libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev fontconfig -y
81
81
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
82
84
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)
84
88
run : |
85
89
echo "\nBuilding pygame wheel\n"
86
90
python3 setup.py docs
87
- pip3 wheel . --wheel-dir /artifacts -vvv
91
+ pip3 wheel . --no-build-isolation -- wheel-dir /artifacts -vvv
88
92
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
90
94
echo "\nRunning tests\n"
91
95
export SDL_VIDEODRIVER=dummy
92
96
export SDL_AUDIODRIVER=disk
0 commit comments