Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rnd_ci_cd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alep
rnd_ci_cd
Commits
1ff95a86
Commit
1ff95a86
authored
Jul 16, 2026
by
alep
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: configure Android environment
parent
6b4b70f3
Pipeline
#688
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
87 additions
and
0 deletions
+87
-0
.gitlab-ci.yml
.gitlab-ci.yml
+87
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
1ff95a86
stages
:
-
install
-
test
-
build
default
:
tags
:
-
shell
variables
:
JAVA_HOME
:
"
/Users/alypmustaqim/Library/Java/JavaVirtualMachines/jbr-17.0.14/Contents/Home"
ANDROID_HOME
:
"
/Users/alypmustaqim/Library/Android/sdk"
ANDROID_SDK_ROOT
:
"
/Users/alypmustaqim/Library/Android/sdk"
before_script
:
-
export PATH="$JAVA_HOME/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$ANDROID_HOME/cmdline-tools/latest/bin:$PATH"
-
echo "Runner user
:
$(whoami)"
-
echo "Architecture
:
$(uname -m)"
-
java -version
-
node --version
-
yarn --version
cache
:
key
:
files
:
-
yarn.lock
paths
:
-
node_modules/
-
.yarn/cache/
-
android/.gradle/
-
~/.gradle/caches/
-
~/.gradle/wrapper/
install_dependencies
:
stage
:
install
script
:
-
yarn install --frozen-lockfile
artifacts
:
paths
:
-
node_modules/
expire_in
:
1 hour
lint
:
stage
:
test
needs
:
-
job
:
install_dependencies
artifacts
:
true
script
:
-
yarn lint
allow_failure
:
false
test
:
stage
:
test
needs
:
-
job
:
install_dependencies
artifacts
:
true
script
:
-
yarn test --watchAll=false
allow_failure
:
false
build_android
:
stage
:
build
needs
:
-
job
:
install_dependencies
artifacts
:
true
script
:
-
echo "ANDROID_HOME=$ANDROID_HOME"
-
which java
-
which adb
-
which sdkmanager
-
sdkmanager --version
-
cd android
-
chmod +x gradlew
-
./gradlew --version
-
./gradlew clean assembleRelease --stacktrace
artifacts
:
name
:
"
android-release-$CI_COMMIT_SHORT_SHA"
paths
:
-
android/app/build/outputs/apk/release/*.apk
-
android/app/build/outputs/mapping/release/mapping.txt
expire_in
:
7 days
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"main"'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment