I am running Gitea instance on my Raspberry pi 5 which has ARM processor, i've looked into similar questions where it says to set --channel=3
, use quotes to install packages. On Github Actions it works normally, but on my Gitea instance it does not, my guess is that it cannot find emulator package for ARM64 processor, is there any solution to this?
NOTE: This is a CI CD pipeilne so capabilities is very limited
Tried answers from these questions 1 2
Here's CI/CD code:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Setup Android SDK
uses: Swisyn/setup-android-sdk@v1
with:
packages: ''
- name: Setup Android SDK Packages
run: |
sdkmanager "tools" "platform-tools"
- name: Build APK
run: |
cd android
chmod +x gradlew
./gradlew assembleRelease
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: app-release-apk
path: android/app/build/outputs/apk/release/app-release.apk
if-no-files-found: error
Output from CI/CD job:
Text:
Loading package information...
Loading local repository...
[ ] 3% Loading local repository...
[ ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 4% Fetch remote repository...
Warning: Errors during XML parse:
[= ] 4% Fetch remote repository...
Warning: Additionally, the fallback loader failed to parse the XML.
[= ] 4% Fetch remote repository...
[= ] 5% Fetch remote repository...
[== ] 5% Fetch remote repository...
[== ] 6% Fetch remote repository...
[== ] 7% Fetch remote repository...
Warning: Errors during XML parse:
[== ] 7% Fetch remote repository...
Warning: Additionally, the fallback loader failed to parse the XML.
[== ] 7% Fetch remote repository...
[=== ] 8% Fetch remote repository...
[=== ] 8% Computing updates...
[=== ] 10% Computing updates...
Warning: Dependant package with key emulator not found!
[=== ] 10% Computing updates...
Warning: Unable to compute a complete list of dependencies.