4444 apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev -y
4545 apt-get install libfreetype6-dev libportmidi-dev fontconfig -y
4646 apt-get install python3-dev python3-pip python3-wheel python3-sphinx -y
47- pip3 install meson-python --break-system-packages
47+ pip3 install meson-python "sphinx-autoapi<=3.3.2" --break-system-packages
4848
4949jobs :
5050 build-multiarch :
@@ -65,10 +65,10 @@ jobs:
6565 - { arch: armv7, base_image: 'balenalib/raspberrypi3-debian:bookworm' }
6666
6767 steps :
68- - uses : actions/checkout@v4.1.7
68+ - uses : actions/checkout@v5.0.0
6969
7070 - name : Build sources and run tests
71- uses : uraimo/run-on-arch-action@v2.7.2
71+ uses : uraimo/run-on-arch-action@v3.0.1
7272 id : build
7373 with :
7474 arch : ${{ matrix.base_image && 'none' || matrix.arch }}
@@ -96,18 +96,16 @@ jobs:
9696 install : ${{ env.INSTALL_CMD }}
9797
9898 # Build a wheel, install it for running unit tests.
99- # --no-build-isolation is passed so that preinstalled meson-python can be used
100- # (done for optimization reasons)
99+ # pip does not know that ninja is installed, and tries to install it again.
100+ # so pass --ignore-dep ninja explicitly
101101 run : |
102- echo "\nBuilding pygame wheel\n"
103- pip3 wheel . --no-build-isolation --wheel-dir /artifacts -vvv
104- echo "\nInstalling wheel\n"
105- pip3 install --no-index --pre --break-system-packages --find-links /artifacts pygame-ce
102+ echo "\nBuilding and installing pygame wheel\n"
103+ PIP_BREAK_SYSTEM_PACKAGES=1 python3 dev.py --ignore-dep ninja build --wheel /artifacts --lax
106104 echo "\nRunning tests\n"
107105 export SDL_VIDEODRIVER=dummy
108106 export SDL_AUDIODRIVER=disk
109107 python3 -m pygame.tests -v --exclude opengl,music,timing --time_out 300
110-
108+
111109 # Upload the generated files under github actions assets section
112110 - name : Upload dist
113111 uses : actions/upload-artifact@v4
@@ -123,7 +121,7 @@ jobs:
123121 runs-on : ubuntu-22.04
124122 steps :
125123 - name : Download all multiarch artifacts
126- uses : actions/download-artifact@v4
124+ uses : actions/download-artifact@v5
127125 with :
128126 name : pygame-multiarch-armv7-dist
129127 path : ~/artifacts
@@ -136,7 +134,7 @@ jobs:
136134 done
137135
138136 - name : Test armv7 wheel on armv6
139- uses : uraimo/run-on-arch-action@v2.7.2
137+ uses : uraimo/run-on-arch-action@v3.0.1
140138 with :
141139 arch : armv6
142140 distro : bookworm
0 commit comments