mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-04 17:55:36 +08:00
APKs for each architecture and a universal APK that is compatible for all architectures will now be available from Github Actions page from the workflow runs labeled `Build`. The APKs will be available as zips under the Artifact section named `termux-app-*`. Architecture specific APKs can be used by users with low disk space since F-Droid releases are universal (since it doesn't support split APKs #1904) and their install+bootstrap installation size is ~180MB instead of ~120MB if an architecture specific APK is used. This should also reduce bandwidth usage and download time for debug builds users if they download an architecture specific zip instead of the universal one. Related #2153
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- android-10
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- android-10
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v2
|
|
- name: Build
|
|
run: |
|
|
./gradlew assembleDebug
|
|
- name: Store generated universal APK file
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: termux-app-universal
|
|
path: |
|
|
./app/build/outputs/apk/debug/app-universal-debug.apk
|
|
./app/build/outputs/apk/debug/output-metadata.json
|
|
- name: Store generated arm64-v8a APK file
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: termux-app-arm64-v8a
|
|
path: |
|
|
./app/build/outputs/apk/debug/app-arm64-v8a-debug.apk
|
|
./app/build/outputs/apk/debug/output-metadata.json
|
|
- name: Store generated armeabi-v7a APK file
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: termux-app-armeabi-v7a
|
|
path: |
|
|
./app/build/outputs/apk/debug/app-armeabi-v7a-debug
|
|
./app/build/outputs/apk/debug/output-metadata.json
|
|
- name: Store generated x86_64 APK file
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: termux-app-x86_64
|
|
path: |
|
|
./app/build/outputs/apk/debug/app-x86_64-debug.apk
|
|
./app/build/outputs/apk/debug/output-metadata.json
|
|
- name: Store generated x86 APK file
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: termux-app-x86
|
|
path: |
|
|
./app/build/outputs/apk/debug/app-x86-debug.apk
|
|
./app/build/outputs/apk/debug/output-metadata.json
|