From 21f0fce28bcceb5ee227f456401f250d9c62b31b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 25 Nov 2024 13:18:45 -0800 Subject: [PATCH] CI: update macOS runner to 13 Apple has already dropped support for macOS 12. GitHub Actions is dropping macOS 12 support now. The Zig project is also dropping macOS 12 support now. This commit also bumps default minimum macos version to 13. --- .github/workflows/ci.yaml | 2 +- lib/std/Target.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bd5803a70f69a50e27abdbd161b3ed6dd9934319..81ab76d3724eab8818117b4dca4545040409d92f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,7 +46,7 @@ jobs: - name: Build and Test run: sh ci/aarch64-linux-release.sh x86_64-macos-release: - runs-on: "macos-12" + runs-on: "macos-13" env: ARCH: "x86_64" steps: diff --git a/lib/std/Target.zig b/lib/std/Target.zig index b2808255b05820b7b4a637e37c048fc2100c0d88..ce912ab2cf9a96a45051189387b93cf5d1638e79 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -531,7 +531,7 @@ pub const Os = struct { }, .macos => .{ .semver = .{ - .min = .{ .major = 11, .minor = 7, .patch = 1 }, + .min = .{ .major = 13, .minor = 0, .patch = 0 }, .max = .{ .major = 15, .minor = 2, .patch = 0 }, }, }, -- 2.54.0