Skip to content

Commit fe3c099

Browse files
committed
Build raylib-lua and copy generated required files instead of excluding them
1 parent a3ce084 commit fe3c099

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
- name: Make gradlew executable
4949
run: chmod +x ./gradlew
5050

51+
- name: Generate raylib-lua binding required files
52+
run: |
53+
cd app/src/main/cpp/deps/raylib-lua/
54+
make
55+
cp src/autogen/*.c ../../
56+
cd ../../../../../../
57+
5158
- name: Build debug APK
5259
run: ./gradlew assembleDebug
5360
env:

app/src/main/cpp/raylua.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define PHYSACDEF static
3636
// #include <physac.h>
3737

38-
// #include "bind.c"
38+
#include "bind.c"
3939
#include "autogen/boot.c"
4040

4141
extern const char *raylua_boot_str;

0 commit comments

Comments
 (0)