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:
174
174
# The target architecture (x86, x64) of the Python interpreter.
175
175
architecture : x64
176
176
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
+
177
188
- name : Build raylib-python-cffi
178
189
run : |
179
190
python -m pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def build_linux():
79
79
80
80
def build_windows ():
81
81
print ("BUILDING FOR WINDOWS" )
82
- ffibuilder .cdef (mangle ("raylib/raylib.h" ). replace ( 'bool' , 'int' ) )
82
+ ffibuilder .cdef (mangle ("raylib/raylib.h" ))
83
83
ffibuilder .cdef (open ("raylib/raygui_modified.h" ).read ().replace ('RAYGUIDEF ' , '' ).replace ('bool' , 'int' ))
84
84
ffibuilder .cdef (open ("raylib/physac_modified.h" ).read ().replace ('PHYSACDEF ' , '' ).replace ('bool' , 'int' ))
85
85
ffibuilder .set_source ("raylib._raylib_cffi" ,
You can’t perform that action at this time.
0 commit comments