Skip to content

pack: expansion sprites loaded from config #1311

pack: expansion sprites loaded from config

pack: expansion sprites loaded from config #1311

name: Akhenaten Build Android
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: run on linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
java-version: 17
distribution: temurin
- name: update-workspace
run: |
sudo apt -qq update
sudo apt install --yes cmake build-essential ninja-build libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev
- name: build-project
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_DEPENDENCIES=android ..
cd ..
- name: Build APK
run: |
cd android
bash ./gradlew assembleDebug --stacktrace
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: apk
path: android/akhenaten/build/outputs/apk/debug/akhenaten-debug.apk