diff mbox series

[kvm-unit-tests] ci/cirrus-ci-macos: Update to the latest macOS version

Message ID 20230104142511.297077-1-thuth@redhat.com (mailing list archive)
State New, archived
Headers show
Series [kvm-unit-tests] ci/cirrus-ci-macos: Update to the latest macOS version | expand

Commit Message

Thomas Huth Jan. 4, 2023, 2:25 p.m. UTC
The big-sur-base image has been decomissioned by Cirrus-CI, so
we have to update to a newer version of macOS now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 ci/cirrus-ci-macos-i386.yml   | 4 ++--
 ci/cirrus-ci-macos-x86-64.yml | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/ci/cirrus-ci-macos-i386.yml b/ci/cirrus-ci-macos-i386.yml
index ef0861e0..ed580e61 100644
--- a/ci/cirrus-ci-macos-i386.yml
+++ b/ci/cirrus-ci-macos-i386.yml
@@ -1,7 +1,7 @@ 
 
 macos_i386_task:
   osx_instance:
-    image: big-sur-base
+    image: ghcr.io/cirruslabs/macos-ventura-base:latest
   install_script:
     - brew update
     - brew install coreutils bash git gnu-getopt make qemu i686-elf-gcc
@@ -10,7 +10,7 @@  macos_i386_task:
     - git fetch origin "@CI_COMMIT_REF_NAME@"
     - git reset --hard "@CI_COMMIT_SHA@"
   script:
-    - export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
+    - export PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"
     - mkdir build
     - cd build
     - ../configure --arch=i386 --cross-prefix=i686-elf-
diff --git a/ci/cirrus-ci-macos-x86-64.yml b/ci/cirrus-ci-macos-x86-64.yml
index 676646fe..861caa16 100644
--- a/ci/cirrus-ci-macos-x86-64.yml
+++ b/ci/cirrus-ci-macos-x86-64.yml
@@ -1,7 +1,7 @@ 
 
 macos_task:
   osx_instance:
-    image: big-sur-base
+    image: ghcr.io/cirruslabs/macos-ventura-base:latest
   install_script:
     - brew update
     - brew install coreutils bash git gnu-getopt make qemu x86_64-elf-gcc
@@ -10,10 +10,10 @@  macos_task:
     - git fetch origin "@CI_COMMIT_REF_NAME@"
     - git reset --hard "@CI_COMMIT_SHA@"
   script:
-    - export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
+    - export PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"
     - mkdir build
     - cd build
-    - ../configure --cross-prefix=x86_64-elf-
+    - ../configure --arch=x86_64 --cross-prefix=x86_64-elf-
     - gmake -j$(sysctl -n hw.ncpu)
     - ACCEL=tcg ./run_tests.sh
          eventinj