mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-27 12:00:35 +00:00
ci: create simpler Gradle testspriteminimal project instead
This commit is contained in:
parent
1a68d846de
commit
122c3e6a81
19
.github/workflows/android.yml
vendored
19
.github/workflows/android.yml
vendored
@ -40,25 +40,25 @@ jobs:
|
||||
- name: Create Gradle project
|
||||
if: ${{ matrix.platform.gradle }}
|
||||
run: |
|
||||
build-scripts/androidbuild.sh org.libsdl.testcontroller src/test/SDL_test_* test/testcontroller.c test/gamepad* test/testutils*
|
||||
build-scripts/androidbuild.sh org.libsdl.testspriteminimal test/testspriteminimal.c test/icon.h
|
||||
echo ""
|
||||
echo "Project contents:"
|
||||
echo ""
|
||||
find "build/org.libsdl.testcontroller"
|
||||
find "build/org.libsdl.testspriteminimal"
|
||||
- name: Build app (Gradle & ndk-build)
|
||||
if: ${{ matrix.platform.gradle }}
|
||||
run: |
|
||||
cd build/org.libsdl.testcontroller
|
||||
cd build/org.libsdl.testspriteminimal
|
||||
./gradlew -i assembleRelease
|
||||
- name: Build app (Gradle & CMake)
|
||||
if: ${{ matrix.platform.gradle }}
|
||||
run: |
|
||||
cd build/org.libsdl.testcontroller
|
||||
cd build/org.libsdl.testspriteminimal
|
||||
./gradlew -i assembleRelease -PBUILD_WITH_CMAKE=1
|
||||
# - name: Build library (Gradle)
|
||||
# if: ${{ matrix.platform.gradle }}
|
||||
# run: |
|
||||
# cd build/org.libsdl.testcontroller
|
||||
# cd build/org.libsdl.testspriteminimal
|
||||
# ./gradlew -i assembleRelease -PBUILD_AS_LIBRARY=1
|
||||
- name: Setup (CMake)
|
||||
if: ${{ matrix.platform.cmake }}
|
||||
@ -94,7 +94,14 @@ jobs:
|
||||
- name: Build test apk's (CMake)
|
||||
if: ${{ matrix.platform.cmake }}
|
||||
run: |
|
||||
cmake --build build --config Release --parallel --verbose --target testautomation-apk testaudiorecording-apk testcontroller-apk testmultiaudio-apk testsprite-apk
|
||||
cmake --build build --config Release --parallel \
|
||||
--target \
|
||||
testaudiorecording-apk \
|
||||
testautomation-apk \
|
||||
testcontroller-apk \
|
||||
testmultiaudio-apk \
|
||||
testsprite-apk \
|
||||
--verbose
|
||||
- name: Install (CMake)
|
||||
if: ${{ matrix.platform.cmake }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user