Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
536
Issue boards
Milestones
Wiki
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
9d3c7032
Commit
9d3c7032
authored
3 years ago
by
Hugo Beauzée-Luyssen
Committed by
Nicolas Pomepuy
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
CI: Parallelize release lib jobs
parent
fc9df14a
No related branches found
No related tags found
1 merge request
!1177
CI: Parallelize release libs jobs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildsystem/gitlab/.gitlab-ci.yml
+53
-7
53 additions, 7 deletions
buildsystem/gitlab/.gitlab-ci.yml
with
53 additions
and
7 deletions
buildsystem/gitlab/.gitlab-ci.yml
+
53
−
7
View file @
9d3c7032
...
...
@@ -12,6 +12,10 @@ default:
-
amd64
-
docker
stages
:
-
build
-
package
.build-all-base
:
stage
:
build
script
:
...
...
@@ -148,18 +152,60 @@ nightly-x86_64:
-
application/app/build/outputs/apk/dev/VLC-Android-*.apk
expire_in
:
2 weeks
publish_libs
:
stage
:
build
.build-release-libs-base
:
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^libvlc-.*$/'
-
if
:
'
$CI_COMMIT_TAG
=~
/^libvlc-.*$/'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"schedule"
&&
$DEBUG_CI
!=
null'
variables
:
ARCH
:
all
M2_REPO
:
"
$CI_PROJECT_DIR/aars/repository"
M2_REPO
:
"
$CI_PROJECT_DIR/aars/repository"
.build-libs-base
:
extends
:
.build-release-libs-base
stage
:
build
script
:
-
mkdir -p $M2_REPO
-
./buildsystem/compile.sh -l -a ${ARCH} -m2 $M2_REPO release
-
./buildsystem/compile.sh -ml -a ${ARCH} -m2 $M2_REPO release -b
artifacts
:
expire_in
:
1h
when
:
on_success
paths
:
-
$CI_PROJECT_DIR/libvlc/jni/libs/*
-
$CI_PROJECT_DIR/medialibrary/jni/libs/*
-
$CI_PROJECT_DIR/.dbg/*
build-libs-arm64
:
extends
:
.build-libs-base
variables
:
ARCH
:
arm64
build-libs-armv7
:
extends
:
.build-libs-base
variables
:
ARCH
:
arm
build-libs-x86
:
extends
:
.build-libs-base
variables
:
ARCH
:
x86
build-libs-x86_64
:
extends
:
.build-libs-base
variables
:
ARCH
:
x86_64
publish_libs
:
extends
:
.build-release-libs-base
stage
:
package
needs
:
-
job
:
"
build-libs-arm64"
-
job
:
"
build-libs-armv7"
-
job
:
"
build-libs-x86"
-
job
:
"
build-libs-x86_64"
script
:
-
mkdir -p $M2_REPO
-
./buildsystem/compile.sh -
l -a ${ARCH} -m2 $M2_REPO release
-
./buildsystem/compile.sh -
-init -b
-
GRADLE_ABI=ALL RELEASE_SIGNING_ENABLED=false ./gradlew -Dmaven.repo.local=$M2_REPO -p libvlc publishToMavenLocal
-
./buildsystem/compile.sh -ml -a ${ARCH} -m2 $M2_REPO release
-
GRADLE_ABI=ALL RELEASE_SIGNING_ENABLED=false ./gradlew -Dmaven.repo.local=$M2_REPO -p medialibrary publishToMavenLocal
artifacts
:
name
:
"
${CI_COMMIT_TAG}.dbg"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment