Skip to contentSkip to conversation

ci: Update the macOS CI jobs to Big Sur

PATCH Applied Thomas Huth 2 participants 2 messages Jul 16, 2021 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ci: Update the macOS CI jobs to Big Sur

Homebrew stopped working for the Catalina-based images. After updating to Big Sur and adding an explicit "brew update", the pipelines go green again.

---
 ci/cirrus-ci-macos-i386.yml   | 3 ++-
 ci/cirrus-ci-macos-x86-64.yml | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
ci/cirrus-ci-macos-i386.yml +2 -1
index b837101..ef0861e 100644
@@ -1,8 +1,9 @@
 
 macos_i386_task:
   osx_instance:
-    image: catalina-base
+    image: big-sur-base
   install_script:
+    - brew update
     - brew install coreutils bash git gnu-getopt make qemu i686-elf-gcc
   clone_script:
     - git clone --depth 100 "@CI_REPOSITORY_URL@" .
ci/cirrus-ci-macos-x86-64.yml +2 -1
index f72c8e1..676646f 100644
@@ -1,8 +1,9 @@
 
 macos_task:
   osx_instance:
-    image: catalina-base
+    image: big-sur-base
   install_script:
+    - brew update
     - brew install coreutils bash git gnu-getopt make qemu x86_64-elf-gcc
   clone_script:
     - git clone --depth 100 "@CI_REPOSITORY_URL@" .
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw
Quoted 31 lines · Thomas Huth

Homebrew stopped working for the Catalina-based images. After updating to Big Sur and adding an explicit "brew update", the pipelines go green again.

---
  ci/cirrus-ci-macos-i386.yml   | 3 ++-
  ci/cirrus-ci-macos-x86-64.yml | 3 ++-
  2 files changed, 4 insertions(+), 2 deletions(-)
ci/cirrus-ci-macos-i386.yml +2 -1
index b837101..ef0861e 100644
@@ -1,8 +1,9 @@
 
  macos_i386_task:
    osx_instance:
-    image: catalina-base
+    image: big-sur-base
    install_script:
+    - brew update
      - brew install coreutils bash git gnu-getopt make qemu i686-elf-gcc
    clone_script:
      - git clone --depth 100 "@CI_REPOSITORY_URL@" .
ci/cirrus-ci-macos-x86-64.yml +0 -0
index f72c8e1..676646f 100644

ci/cirrus-ci-macos-x86-64.yml line 9

Quoted 10 lines
ci/cirrus-ci-macos-x86-64.yml +2 -1
@@ -1,8 +1,9 @@
 
  macos_task:
    osx_instance:
-    image: catalina-base
+    image: big-sur-base
    install_script:
+    - brew update
      - brew install coreutils bash git gnu-getopt make qemu x86_64-elf-gcc
    clone_script:
      - git clone --depth 100 "@CI_REPOSITORY_URL@" .

Queued, thanks.

Paolo