[vlc-commits] [Git][videolan/vlc][master] 3 commits: CI: explicitly set the number of parallel jobs to use

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Aug 21 06:56:13 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
fd6b3e68 by Steve Lhomme at 2026-08-21T06:09:26+00:00
CI: explicitly set the number of parallel jobs to use

It's the same value as the default value in the script [^1].

[^1]: https://code.videolan.org/videolan/vlc/-/blob/b81c96e4f8abd8e57802944c7dee62d8e079c4e2/extras/package/macosx/build.sh#L18

- - - - -
de668a56 by Steve Lhomme at 2026-08-21T06:09:26+00:00
CI: compile the tests in parallel on macOS

No tests are run, we only verify they build. We can do that in parallel rather
than building them one by one. The build script has a -j option to set the
number of jobs. We do the same value here.

- - - - -
010eed83 by Steve Lhomme at 2026-08-21T06:09:26+00:00
CI: compile macos GUI tests in parallel

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -493,6 +493,7 @@ raspbian-arm:
         - .base-template
         - .ccache-common-apple
     script: |
+        export NCPU=$(getconf NPROCESSORS_ONLN)
         if [ -n "$BUILD_NIGHTLY" ]; then
             NIGHTLY_EXTRA_BUILD_FLAGS="-i n"
         else
@@ -507,10 +508,10 @@ raspbian-arm:
             EXTRA_BUILD_FLAGS="${EXTRA_BUILD_FLAGS} -p"
         fi
         export PATH="${VLC_PATH}:$PATH"
-        ./extras/package/macosx/build.sh $EXTRA_BUILD_FLAGS $NIGHTLY_EXTRA_BUILD_FLAGS -a $HOST_ARCH -x
+        ./extras/package/macosx/build.sh $EXTRA_BUILD_FLAGS $NIGHTLY_EXTRA_BUILD_FLAGS -a $HOST_ARCH -x -j $NCPU
         # At least compile every targets
-        make check TESTS=
-        make -C modules check-macosx
+        make -j $NCPU check TESTS=
+        make -C modules -j $NCPU check-macosx
     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/-/compare/659b9f122c6f3674749b68ebc58b1a6b34bd79ba...010eed83fcfd40bb1e390697094faa19e35d5a38

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/659b9f122c6f3674749b68ebc58b1a6b34bd79ba...010eed83fcfd40bb1e390697094faa19e35d5a38
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