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