File tree 2 files changed +8
-12
lines changed
2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,11 @@ jobs:
96
96
install : ${{ env.INSTALL_CMD }}
97
97
98
98
# 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
101
101
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
106
104
echo "\nRunning tests\n"
107
105
export SDL_VIDEODRIVER=dummy
108
106
export SDL_AUDIODRIVER=disk
Original file line number Diff line number Diff line change @@ -68,12 +68,10 @@ jobs:
68
68
# mingw-w64-${{ matrix.env }}-freetype
69
69
# mingw-w64-${{ matrix.env }}-portmidi
70
70
71
- - name : Building pygame wheel
72
- run : |
73
- pip3 wheel . --wheel-dir /artifacts -vvv --no-build-isolation
74
-
75
- - name : Installing wheel
76
- run : pip3 install --no-index --pre --find-links /artifacts pygame-ce
71
+ # pip does not know that ninja is installed, and tries to install it again.
72
+ # so pass --ignore-dep ninja explicitly
73
+ - name : Build and install pygame wheel
74
+ run : python3 dev.py --ignore-dep ninja build --wheel /artifacts --lax
77
75
78
76
- name : Run tests
79
77
env :
You can’t perform that action at this time.
0 commit comments