Skip to content

Commit dd9ac81

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

2 files changed

Lines changed: 9 additions & 2 deletions

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#define PHYSACDEF static
3636
// #include <physac.h>
3737

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

4141
extern const char *raylua_boot_str;
4242

0 commit comments

Comments
 (0)