|
|
@ -13,17 +13,10 @@ jobs: |
|
|
|
fail-fast: false |
|
|
|
max-parallel: 1 |
|
|
|
matrix: |
|
|
|
bits: [32, 64] |
|
|
|
include: |
|
|
|
- bits: 32 |
|
|
|
ARCH: "x86_64" |
|
|
|
ARCH_NAME: "x86_64" |
|
|
|
- bits: 64 |
|
|
|
ARCH: "ARM64" |
|
|
|
ARCH_NAME: "arm64" |
|
|
|
ARCH: ["arm64", "x86_64"] |
|
|
|
|
|
|
|
env: |
|
|
|
RELEASE_NAME: raylib-3.1_android_${{ matrix.ARCH_NAME }} |
|
|
|
RELEASE_NAME: raylib-3.1_android_${{ matrix.ARCH }} |
|
|
|
|
|
|
|
steps: |
|
|
|
- name: Checkout |
|
|
@ -43,8 +36,8 @@ jobs: |
|
|
|
- name: Build Library |
|
|
|
run: | |
|
|
|
cd src |
|
|
|
make PLATFORM=PLATFORM_ANDROID ANDROID_ARCH=${{ env.ARCH }} ANDROID_NDK="C:\PROGRA~2\Android\android-sdk\ndk-bundle" RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" |
|
|
|
make PLATFORM=PLATFORM_ANDROID ANDROID_ARCH=${{ env.ARCH }} ANDROID_NDK="C:\PROGRA~2\Android\android-sdk\ndk-bundle" RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B |
|
|
|
make PLATFORM=PLATFORM_ANDROID ANDROID_ARCH=${{ matrix.ARCH }} ANDROID_NDK="C:\PROGRA~2\Android\android-sdk\ndk-bundle" RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" |
|
|
|
make PLATFORM=PLATFORM_ANDROID ANDROID_ARCH=${{ matrix.ARCH }} ANDROID_NDK="C:\PROGRA~2\Android\android-sdk\ndk-bundle" RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B |
|
|
|
cd .. |
|
|
|
shell: cmd |
|
|
|
|
|
|
|