Skip to content

Commit

Permalink
ci: update macos-12 runners to macos-14 (#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
thenextman authored Oct 28, 2024
1 parent 5f0b2ef commit e6d84ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- platform: unknown-linux-gnu
runner: ubuntu-20.04
- platform: apple-darwin
runner: macos-12
runner: macos-14
exclude:
- platform: pc-windows-msvc
arch: aarch64
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- platform: pc-windows-msvc
runner: windows-2022
- platform: apple-darwin
runner: macos-12
runner: macos-14
exclude:
- platform: pc-windows-msvc
arch: aarch64
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
$Platforms += 'macos'
$Platforms | ForEach-Object {
$Runner = switch ($_) { 'windows' { 'windows-2022' } 'macos' { 'macos-12' } 'linux' { 'ubuntu-20.04' } }
$Runner = switch ($_) { 'windows' { 'windows-2022' } 'macos' { 'macos-14' } 'linux' { 'ubuntu-20.04' } }
foreach ($Arch in $Archs) {
$Jobs += @{
arch = $Arch
Expand Down Expand Up @@ -222,11 +222,11 @@ jobs:
run: |
rustup target add aarch64-pc-windows-msvc
- name: Configure macOS (arm) runner
if: matrix.os == 'macos' && matrix.arch == 'arm64'
- name: Configure macOS (intel) runner
if: matrix.os == 'macos' && matrix.arch == 'x86_64'
run: |
sudo rm -rf /Library/Developer/CommandLineTools
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
- name: Build
id: build
Expand Down

0 comments on commit e6d84ba

Please sign in to comment.