Apply Rebel branding to Rebel servers (#100) #181
This file contains 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: 🤖 Android Builds | |
on: [push, pull_request] | |
# Global Settings | |
env: | |
BRANCH_NAME: main | |
SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no | |
concurrency: | |
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-android | |
cancel-in-progress: true | |
jobs: | |
android-template: | |
runs-on: ${{ matrix.os }} | |
name: Template - ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: Setup build cache | |
uses: ./.github/actions/build-cache | |
continue-on-error: true | |
- name: Setup build dependencies | |
uses: ./.github/actions/build-dependencies | |
- name: Build (armv7) | |
uses: ./.github/actions/build | |
with: | |
sconsflags: ${{ env.SCONSFLAGS }} android_arch=armv7 | |
platform: android | |
target: release | |
tools: false | |
- name: Build (arm64v8) | |
uses: ./.github/actions/build | |
with: | |
sconsflags: ${{ env.SCONSFLAGS }} android_arch=arm64v8 | |
platform: android | |
target: release | |
tools: false | |
- name: Create Android templates | |
shell: bash | |
run: | | |
cd platform/android/project | |
./gradlew createAndroidTemplates | |
cd ../../.. | |
ls -l bin/ | |
- name: Upload artifact | |
uses: ./.github/actions/upload-artifact | |
with: | |
name: ${{ github.job }}-${{ matrix.os }} |