38
38
contents : read # to fetch code (actions/checkout)
39
39
40
40
name : macOS
41
- runs-on : macos-12
41
+ runs-on : macos-13
42
42
strategy :
43
43
fail-fast : true
44
44
matrix :
@@ -262,17 +262,17 @@ jobs:
262
262
max-parallel : 4
263
263
matrix :
264
264
target :
265
- - { toolchain: stable, os: macos-12 }
266
- - { toolchain: beta, os: macos-12 }
267
- - { toolchain: nightly, os: macos-12 }
265
+ - { toolchain: stable, os: macos-13, deployment-target: 13.6 }
266
+ - { toolchain: beta, os: macos-13, deployment-target: 13.6 }
267
+ - { toolchain: nightly, os: macos-13, deployment-target: 13.6 }
268
268
# Use macOS 11 for older toolchains as newer Xcode donesn't work well.
269
269
# FIXME: Disabled due to:
270
270
# error: failed to parse registry's information for: serde
271
271
# - { toolchain: 1.13.0, os: macos-11 }
272
- - { toolchain: 1.19.0, os: macos-11 }
273
- - { toolchain: 1.24.0, os: macos-11 }
274
- - { toolchain: 1.25.0, os: macos-11 }
275
- - { toolchain: 1.30.0, os: macos-11 }
272
+ - { toolchain: 1.19.0, os: macos-11, deployment-target: 11.7 }
273
+ - { toolchain: 1.24.0, os: macos-11, deployment-target: 11.7 }
274
+ - { toolchain: 1.25.0, os: macos-11, deployment-target: 11.7 }
275
+ - { toolchain: 1.30.0, os: macos-11, deployment-target: 11.7 }
276
276
runs-on : ${{ matrix.target.os }}
277
277
steps :
278
278
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@HEAD
@@ -282,7 +282,7 @@ jobs:
282
282
- name : Setup Rust toolchain
283
283
run : TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/install-rust.sh
284
284
- name : Execute build.sh
285
- run : LIBC_CI=1 TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh
285
+ run : LIBC_CI=1 MACOSX_DEPLOYMENT_TARGET=${{ matrix.target.deployment-target }} TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh
286
286
287
287
build_channels_windows :
288
288
permissions :
0 commit comments