Volume XXII, number 280Wednesday, October 7, 2026Latest message 47 minutes ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

patch, 2 partsgitlab-ci: some smallish updates for macOS jobs

3 messages between May 21, 2026 and May 21, 2026, from Patrick Steinhardt.

Plain Markdown or JSON for tools and agents. Diffs are folded; open one to read it.

Patrick SteinhardtMay 21, 2026, 08:59 UTC on lore
Hi,

this patch series does some smallish updates for GitLab's CI jobs that exercise macOS. A test run of this can be found at [1].

Thanks!
Patrick
[1]: https://gitlab.com/gitlab-org/git/-/merge_requests/576
---
Patrick Steinhardt (2):
      gitlab-ci: upgrade macOS runners
      gitlab-ci: update macOS image
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- base-commit: aec3f587505a472db67e9462d0702e7d463a449d change-id: 20260521-b4-pks-gitlab-ci-updates-3b4a959f8e0c

Patrick SteinhardtMay 21, 2026, 08:59 UTC in reply to Patrick Steinhardt on lore

[PATCH 1/2] gitlab-ci: upgrade macOS runners

We're currently using M1-based runners for our macOS jobs. GitLab has since introduced a new M2 Pro-based runner type that is available for all GitLab tiers [1], which upgrades from 4 to 6 cores and from 8 to 16 GB RAM.

Upgrade to this new runner type, which results in some nice speedups:
  - osx-clang goes from 26 minutes to 16 minutes.
  - osx-meson goes from 19 minutes to 13 minutes.
  - osx-reftable goes from 23 minutes to 14 mintues.
[1]: https://docs.gitlab.com/ci/runners/hosted_runners/macos/
Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to .gitlab-ci.yml +1 −1
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 83ec786c5a..1c6777acf3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,7 +79,7 @@ test:osx:
   stage: test
   needs: [ ]
   tags:
-    - saas-macos-medium-m1
+    - saas-macos-large-m2pro
   variables:
     TEST_OUTPUT_DIRECTORY: "/Volumes/RAMDisk"
   before_script:
-- 
2.54.0.926.g75ba10bac6.dirty
Patrick SteinhardtMay 21, 2026, 08:59 UTC in reply to Patrick Steinhardt on lore

[PATCH 2/2] gitlab-ci: update macOS image

The GitLab CI jobs for macOS are all using the macOS 15 images. While these images are not deprecated yet, there is a new image for macOS 26 generally available by now [1].

Switch two of our jobs to use the new image. The third job still continues to use the old image. This ensures broader test coverage until this old image gets deprecated.

[1]: https://docs.gitlab.com/ci/runners/hosted_runners/macos/
Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to .gitlab-ci.yml +2 −2
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c6777acf3..e0b9a0d82b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,10 +104,10 @@ test:osx:
         image: macos-15-xcode-16
         CC: clang
       - jobname: osx-reftable
-        image: macos-15-xcode-16
+        image: macos-26-xcode-26
         CC: clang
       - jobname: osx-meson
-        image: macos-15-xcode-16
+        image: macos-26-xcode-26
         CC: clang
   artifacts:
     paths:
-- 
2.54.0.926.g75ba10bac6.dirty

Back to recent threads