Skip to content

Commit 76bcd04

Browse files
improve rpi build
1 parent 53ca2fb commit 76bcd04

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@ jobs:
216216
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
217217
- uses: actions/checkout@v2
218218

219+
- name: Build raylib
220+
run: |
221+
cd raylib-c
222+
mkdir build
223+
cd build
224+
cmake -DBUILD_EXAMPLES=off -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release -DOpenGL_GL_PREFERENCE=GLVND ..
225+
make -j2
226+
make install
227+
- name: Copy extras
228+
run: |
229+
cp physac/src/physac.h /usr/local/include/
230+
cp raygui/src/raygui.h /usr/local/include/
219231
220232
- name: Build raylib-python-cffi
221233
run: |

0 commit comments

Comments
 (0)