Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
9dbb3fbf
Commit
9dbb3fbf
authored
Nov 20, 2019
by
Daniel Wolf
Browse files
Build F-Droid build first, don't build debug versions anymore
parent
dbaed52b
Pipeline
#5868
passed with stage
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9dbb3fbf
...
...
@@ -10,25 +10,10 @@ stages:
before_script
:
-
source /home/public/android-sdk-linux/initAndroid.sh -s ${ANDROID_COMPILE_SDK}
build_debug
:
stage
:
build
script
:
-
/./home/public/gitrunner/changeAppVersion.sh app/build.gradle " $CI_COMMIT_REF_NAME\_$CI_PIPELINE_ID" --append
-
./gradlew assembleNormalDebug --stacktrace
artifacts
:
paths
:
-
app/build/outputs/apk/normal/debug/*.apk
except
:
-
/^no_ci.*$/
-
/^no_build.*$/
-
/^no_build_no_tests.*$/
-
/^no_build_no_deploy.*$/
build_release
:
build_fdroid
:
stage
:
build
script
:
-
./gradlew clean check
NormalRelease assembleNormalRelease
--stacktrace -x test
-
./gradlew clean check
AdblockerFdroid assembleAdblockerFdroid
--stacktrace -x test
except
:
-
/^no_ci.*$/
-
/^no_build.*$/
...
...
@@ -36,15 +21,15 @@ build_release:
-
/^no_build_no_deploy.*$/
artifacts
:
paths
:
-
app/build/outputs/apk/
normal/release
/*.apk
-
app/build/outputs/mapping/
normal/release
/mapping.txt
-
app/build/outputs/apk/
adblocker/fdroid
/*.apk
-
app/build/outputs/mapping/
adblocker/fdroid
/mapping.txt
only
:
-
master
build_
fdroid
:
build_
release
:
stage
:
build
script
:
-
./gradlew clean check
AdblockerFdroid assembleAdblockerFdroid
--stacktrace -x test
-
./gradlew clean check
NormalRelease assembleNormalRelease
--stacktrace -x test
except
:
-
/^no_ci.*$/
-
/^no_build.*$/
...
...
@@ -52,8 +37,8 @@ build_fdroid:
-
/^no_build_no_deploy.*$/
artifacts
:
paths
:
-
app/build/outputs/apk/
adblocker/fdroid
/*.apk
-
app/build/outputs/mapping/
adblocker/fdroid
/mapping.txt
-
app/build/outputs/apk/
normal/release
/*.apk
-
app/build/outputs/mapping/
normal/release
/mapping.txt
only
:
-
master
...
...
Write
Preview
Supports
Markdown
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