Split all three plugins into separate processor and controller classe… #231
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build fork APK | |
| on: | |
| push: | |
| branches: [ master, viper-extras ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: adopt | |
| - name: Build rootless release APK (FOSS, optimized) | |
| run: ./gradlew assembleRootlessFdroidRelease --no-daemon | |
| - name: Upload rootless APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RootlessViPER4Android-release | |
| path: app/build/outputs/apk/rootlessFdroid/release/*.apk | |
| # Root testers need the rootful APK, which is a different package | |
| # (com.alienware377.viper4android.rootful) and installs alongside the | |
| # rootless build. | |
| - name: Build rootful release APK | |
| run: ./gradlew assembleRootfulFdroidRelease --no-daemon | |
| - name: Upload rootful APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RootfulViPER4Android-release | |
| path: app/build/outputs/apk/rootfulFdroid/release/*.apk | |
| # The Magisk module carries this fork's engine as a system-wide effect, | |
| # so root mode runs our effects rather than the stock JamesDSP set. | |
| - name: Install ninja | |
| run: sudo apt-get update && sudo apt-get install -y ninja-build zip | |
| - name: Build Magisk module | |
| run: bash magisk/build-module.sh | |
| - name: Upload Magisk module | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RootlessViPER4Android-magisk-module | |
| path: build/rv4a-engine-module.zip |