Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mahmudxon Umarxonov
Linphone Sdk
Commits
8328d85d
Commit
8328d85d
authored
6 years ago
by
Erwan Croze
Browse files
Options
Download
Email Patches
Plain Diff
Fix android upload aar
parent
0c2696a9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci-files/job-uploads.yml
+14
-1
.gitlab-ci-files/job-uploads.yml
with
14 additions
and
1 deletion
+14
-1
.gitlab-ci-files/job-uploads.yml
+
14
-
1
View file @
8328d85d
...
...
@@ -32,10 +32,23 @@ job-android-upload:
stage
:
deploy
tags
:
[
"
deploy"
]
variables
:
CMAKE_GENERATOR
:
Ninja
ADDITIONAL_BUILD_OPTIONS
:
-j$MAKEFILE_JOBS
only
:
-
schedules
dependencies
:
-
job-android-ninja-r17c
# Currently we can't use artifact to upload this so we rebuild all android project
script
:
-
cd build-android && ../cmake/Android/gradlew uploadArchives
\ No newline at end of file
-
export ANDROID_HOME=$ANDROID_HOME_MAC
-
export ANDROID_NDK_HOME=$ANDROID_NDK_HOME_MAC
-
ccache -s
-
mkdir -p build-android
-
cd build-android
-
cmake .. -G "$CMAKE_GENERATOR" -DLINPHONESDK_PLATFORM=Android -DLINPHONESDK_ANDROID_ARCHS="arm64, armv7" $DEFAULT_LINUX_CMAKE_OPTIONS $CMAKE_OPTIONS
-
cmake --build . --target sdk -- $ADDITIONAL_BUILD_OPTIONS
-
../cmake/Android/gradlew uploadArchives -i
-
ccache -s
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help