Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Snowflake Mobile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake Mobile
Merge requests
!7
Added .gitlab-ci.yml
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Added .gitlab-ci.yml
HashikD/snowflake-mobile:master
into
master
Overview
2
Commits
1
Pipelines
0
Changes
1
Closed
HashikD
requested to merge
HashikD/snowflake-mobile:master
into
master
4 years ago
Overview
2
Commits
1
Pipelines
0
Changes
1
Expand
closes
#14
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f5b362a8
1 commit,
4 years ago
1 file
+
39
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
39
−
0
Options
image
:
openjdk:8-jdk
variables
:
ANDROID_COMPILE_SDK
:
"
29"
ANDROID_BUILD_TOOLS
:
"
29.0.3"
ANDROID_SDK_TOOLS
:
"
4333796"
before_script
:
-
apt-get --quiet update --yes
-
apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
-
wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
-
unzip -d android-sdk-linux android-sdk.zip
-
echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" >/dev/null
-
echo y | android-sdk-linux/tools/bin/sdkmanager "platform-tools" >/dev/null
-
echo y | android-sdk-linux/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}" >/dev/null
-
export ANDROID_HOME=$PWD/android-sdk-linux
-
export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
-
chmod +x ./gradlew
-
set +o pipefail
-
yes | android-sdk-linux/tools/bin/sdkmanager --licenses
-
set -o pipefail
lintDebug
:
stage
:
build
script
:
-
./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint
assembleDebug
:
stage
:
build
script
:
-
./gradlew assembleDebug
artifacts
:
paths
:
-
app/build/outputs/
debugTests
:
stage
:
test
script
:
-
./gradlew -Pci --console=plain :app:testDebug
Loading