name: Build run-name: Build the project on: [push] jobs: build-appimage: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v3 with: submodules: recursive ref: main fetch-depth: 0 - name: Install system dependencies run: apt update && apt install -y wget python3 python3-pip - name: Install Python dependencies via pip run: python -m venv venv && ./venv/bin/pip install pylddwrap - name: Build project run: ./build-appimage.sh - name: Upload artifact uses: actions/upload-artifact@v3 with: name: build path: build/Looper.AppImage build-gentoo: runs-on: gentoo steps: - name: Build binary package run: emerge -v media-sound/looper build-android: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v3 with: submodules: recursive ref: main fetch-depth: 0 - name: Setup Java uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Setup Android SDK uses: android-actions/setup-android@v2.0.10 - name: Fix vgmstream repo run: ./setup.sh - name: Build Debug apk run: ./setup-android-build.sh && cd sdl-android-project && ./gradlew assembleDebug --stacktrace - name: Build Debug bundle run: cd sdl-android-project && ./gradlew bundleDebug --stacktrace - name: Get debug file aab path id: debugAab run: echo "aabfile=$(find sdl-android-project/app/build/outputs/bundle/debug/*.aab)" >> $GITHUB_OUTPUT - name: Get debug file apk path id: debugApk run: echo "apkfile=$(find sdl-android-project/app/build/outputs/apk/debug/*.apk)" >> $GITHUB_OUTPUT - name: Zip Files uses: papeloto/action-zip@v1 with: files: ${{ steps.debugAab.outputs.aabfile }} ${{ steps.debugApk.outputs.apkfile }} dest: ${{ steps.debugApk.outputs.apkfile }}.zip - name: Upload Debug build to Artifacts uses: actions/upload-artifact@v3 with: name: debug-artifacts path: ${{ steps.debugApk.outputs.apkFile }}