[vlc-commits] [Git][videolan/vlc][master] CI: only run macOS GUI tests when the GUI changes

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Nov 19 12:49:19 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8c3003df by Steve Lhomme at 2026-11-19T11:52:42+00:00
CI: only run macOS GUI tests when the GUI changes

Ref. #30382

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -519,7 +519,12 @@ raspbian-arm:
         ./extras/package/macosx/build.sh $EXTRA_BUILD_FLAGS $NIGHTLY_EXTRA_BUILD_FLAGS -a $HOST_ARCH -x -j $NCPU
         # At least compile every targets
         make -j $NCPU check TESTS=
-        make -C modules -j $NCPU check-macosx
+        # only if modules/gui/macosx was modified
+        CHANGED_FILES_IN_PATH=$(git diff --name-only ${CI_MERGE_REQUEST_DIFF_BASE_SHA}..${CI_COMMIT_SHA} "modules/gui/macosx")
+        if [ -n "${CHANGED_FILES_IN_PATH}" ]; then
+            echo "Building and Running GUI tests"
+            make -C modules -j $NCPU check-macosx
+        fi
     after_script:
       - export PATH="${CI_PROJECT_DIR}/extras/tools/build/bin:$PATH"
       - !reference [.ccache-common-apple, after_script]



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c3003dfdc3a48f5269b4baf8e9ca104b44b024a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c3003dfdc3a48f5269b4baf8e9ca104b44b024a
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list