[vlc-commits] [Git][videolan/vlc][master] 2 commits: CI: only build debian contribs/tools if contribs/tools/ci changed
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Sep 7 19:42:28 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e5c7c7bf by Steve Lhomme at 2023-09-07T18:43:05+00:00
CI: only build debian contribs/tools if contribs/tools/ci changed
This is how it's done for other targets. They rely on get-contrib-sha.sh
to check if files moved in these folders but we can do that with gitlab
for a pure contrib build which will never get contrib packages.
- - - - -
d746c31d by Steve Lhomme at 2023-09-07T18:43:05+00:00
CI: allow the debian contribs to fail
We don't test enough valuable targets for now.
- - - - -
1 changed file:
- extras/ci/gitlab-ci.yml
Changes:
=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -257,6 +257,13 @@ debian-contrib:
extends: .base-template
image:
name: $VLC_DEBIAN_IMAGE
+ rules:
+ - changes:
+ # should match get-contrib-sha.sh
+ - contrib/**/*
+ - contrib/*
+ - extras/tools/*
+ - extras/ci/*
script: |
export NCPU=$(getconf _NPROCESSORS_ONLN)
echo "Building branch '${CI_COMMIT_BRANCH}' (default: '${CI_DEFAULT_BRANCH}')"
@@ -284,6 +291,7 @@ debian-contrib:
else
make -j$NCPU --output-sync=recurse tools
fi
+ allow_failure: true
variables:
<<: *variables-debian
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1a8dc3fcbf25cde9fd8134bf38faa7b171c096ef...d746c31d69157a11690d89592e7042a03d01f44c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1a8dc3fcbf25cde9fd8134bf38faa7b171c096ef...d746c31d69157a11690d89592e7042a03d01f44c
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list