@@ -106,61 +106,27 @@ task:
106106 << : *CAT_LOGS
107107
108108task :
109- name : " x86_64 : macOS Catalina "
109+ name : " arm64 : macOS Ventura "
110110 macos_instance :
111- image : catalina- base
111+ image : ghcr.io/cirruslabs/macos-ventura- base:latest
112112 env :
113113 HOMEBREW_NO_AUTO_UPDATE : 1
114114 HOMEBREW_NO_INSTALL_CLEANUP : 1
115- # Cirrus gives us a fixed number of 12 virtual CPUs. Not that we even have that many jobs at the moment...
116- MAKEFLAGS : -j13
115+ # Cirrus gives us a fixed number of 4 virtual CPUs. Not that we even have that many jobs at the moment...
116+ MAKEFLAGS : -j4
117117 matrix :
118118 << : *ENV_MATRIX
119+ env :
120+ ASM : no
121+ WITH_VALGRIND : no
122+ CTIMETEST : no
119123 matrix :
120124 - env :
121- CC : gcc-9
125+ CC : gcc
122126 - env :
123127 CC : clang
124- # Update Command Line Tools
125- # Uncomment this if the Command Line Tools on the CirrusCI macOS image are too old to brew valgrind.
126- # See https://apple.stackexchange.com/a/195963 for the implementation.
127- # # update_clt_script:
128- # # - system_profiler SPSoftwareDataType
129- # # - touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
130- # # - |-
131- # # PROD=$(softwareupdate -l | grep "*.*Command Line" | tail -n 1 | awk -F"*" '{print $2}' | sed -e 's/^ *//' | sed 's/Label: //g' | tr -d '\n')
132- # # # For debugging
133- # # - softwareupdate -l && echo "PROD: $PROD"
134- # # - softwareupdate -i "$PROD" --verbose
135- # # - rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
136- # #
137- brew_valgrind_pre_script :
138- # Retry a few times because this tends to fail randomly.
139- - for i in {1..5}; do brew update && break || sleep 15; done
140- - brew config
141- - brew tap LouisBrunner/valgrind
142- # Fetch valgrind source but don't build it yet.
143- - brew fetch --HEAD LouisBrunner/valgrind/valgrind
144- brew_valgrind_cache :
145- # This is $(brew --cellar valgrind) but command substition does not work here.
146- folder : /usr/local/Cellar/valgrind
147- # Rebuild cache if ...
148- fingerprint_script :
149- # ... macOS version changes:
150- - sw_vers
151- # ... brew changes:
152- - brew config
153- # ... valgrind changes:
154- - git -C "$(brew --cache)/valgrind--git" rev-parse HEAD
155- populate_script :
156- # If there's no hit in the cache, build and install valgrind.
157- - brew install --HEAD LouisBrunner/valgrind/valgrind
158- brew_valgrind_post_script :
159- # If we have restored valgrind from the cache, tell brew to create symlink to the PATH.
160- # If we haven't restored from cached (and just run brew install), this is a no-op.
161- - brew link valgrind
162128 brew_script :
163- - brew install automake libtool gcc@9
129+ - brew install automake libtool gcc
164130 << : *MERGE_BASE
165131 test_script :
166132 - ./ci/cirrus.sh
0 commit comments