File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,17 @@ jobs:
174174 # The target architecture (x86, x64) of the Python interpreter.
175175 architecture : x64
176176
177+ - name : Build raylib
178+ run : |
179+ sudo apt update
180+ sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
181+ cd raylib-c
182+ mkdir build
183+ cd build
184+ cmake -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
185+ make -j2
186+ sudo make install
187+
177188 - name : Build raylib-python-cffi
178189 run : |
179190 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def build_linux():
7979
8080def build_windows ():
8181 print ("BUILDING FOR WINDOWS" )
82- ffibuilder .cdef (mangle ("raylib/raylib.h" ). replace ( 'bool' , 'int' ) )
82+ ffibuilder .cdef (mangle ("raylib/raylib.h" ))
8383 ffibuilder .cdef (open ("raylib/raygui_modified.h" ).read ().replace ('RAYGUIDEF ' , '' ).replace ('bool' , 'int' ))
8484 ffibuilder .cdef (open ("raylib/physac_modified.h" ).read ().replace ('PHYSACDEF ' , '' ).replace ('bool' , 'int' ))
8585 ffibuilder .set_source ("raylib._raylib_cffi" ,
You can’t perform that action at this time.
0 commit comments