try
This commit is contained in:
parent
b8231d23b8
commit
fb3f3f9b22
2 changed files with 6 additions and 1 deletions
|
@ -8,6 +8,10 @@ pi_task:
|
||||||
- image: dtcooper/raspberrypi-os:python3.11-bullseye
|
- image: dtcooper/raspberrypi-os:python3.11-bullseye
|
||||||
- image: dtcooper/raspberrypi-os:python3.10-bullseye
|
- image: dtcooper/raspberrypi-os:python3.10-bullseye
|
||||||
- image: dtcooper/raspberrypi-os:python3.9-bullseye
|
- image: dtcooper/raspberrypi-os:python3.9-bullseye
|
||||||
|
env:
|
||||||
|
matrix:
|
||||||
|
- RAYLIB_PLATFORM: "Desktop"
|
||||||
|
- RAYLIB_PLATFORM: "SDL"
|
||||||
setup_script:
|
setup_script:
|
||||||
- apt update
|
- apt update
|
||||||
- apt -y install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev
|
- apt -y install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev
|
||||||
|
|
|
@ -169,7 +169,8 @@ def build_unix():
|
||||||
'-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework',
|
'-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework',
|
||||||
'CoreVideo']
|
'CoreVideo']
|
||||||
if USE_SDL2:
|
if USE_SDL2:
|
||||||
extra_link_args += ['/usr/local/lib/libSDL2.a', '-framework', 'CoreHaptics']
|
extra_link_args += ['/usr/local/lib/libSDL2.a', '-framework', 'CoreHaptics', '-framework', 'ForceFeedback',
|
||||||
|
'-framework', 'GameController']
|
||||||
libraries = []
|
libraries = []
|
||||||
extra_compile_args = ["-Wno-error=incompatible-function-pointer-types", "-D_CFFI_NO_LIMITED_API"]
|
extra_compile_args = ["-Wno-error=incompatible-function-pointer-types", "-D_CFFI_NO_LIMITED_API"]
|
||||||
else: #platform.system() == "Linux":
|
else: #platform.system() == "Linux":
|
||||||
|
|
Reference in a new issue