Skip to content

Commit b8b05e4

Browse files
committed
Initial raylib/raymob project using lua bindings
1 parent 5b07acd commit b8b05e4

148 files changed

Lines changed: 77917 additions & 56 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yaml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Build Raymob Lua APK
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
pull_request:
8+
branches:
9+
- dev
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
with:
20+
submodules: recursive
21+
22+
- name: Set up JDK
23+
uses: actions/setup-java@v4
24+
with:
25+
java-version: "17"
26+
distribution: "temurin"
27+
28+
- name: Setup Android SDK
29+
uses: android-actions/setup-android@v3
30+
with:
31+
cmdline-tools-version: "11076708"
32+
packages: "platforms;android-34 build-tools;34.0.0 ndk;27.2.12479018"
33+
accept-android-sdk-licenses: true
34+
35+
- name: Verify NDK version
36+
run: cat $ANDROID_NDK_HOME/source.properties
37+
38+
- name: Cache Gradle packages
39+
uses: actions/cache@v4
40+
with:
41+
path: |
42+
~/.gradle/caches
43+
~/.gradle/wrapper
44+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
45+
restore-keys: |
46+
${{ runner.os }}-gradle-
47+
48+
- name: Make gradlew executable
49+
run: chmod +x ./gradlew
50+
51+
- name: Build debug APK
52+
run: ./gradlew assembleDebug
53+
env:
54+
ANDROID_SDK_ROOT: ${{ env.ANDROID_HOME }}
55+
ANDROID_NDK_HOME: ${{ env.ANDROID_NDK_HOME }}
56+
57+
- name: Upload APK
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: raymob-lua-debug-apk
61+
path: app/build/outputs/apk/debug/app-debug.apk

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ static def getGLVersionCode(String version) {
3737
android {
3838
namespace project.properties['app.application_id']
3939
compileSdk 34
40+
buildToolsVersion "34.0.0"
41+
ndkVersion "27.2.12479018"
4042

4143
defaultConfig {
4244
minSdk 24

0 commit comments

Comments
 (0)