Skip to content

Commit

Permalink
CI: switch to macOS 13 for x86-64 artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jul 6, 2024
1 parent def152f commit b2d2cae
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
name: tdlib.native.macos.aarch64
path: artifacts/*
build-macos-x86-64:
runs-on: macos-11
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
test-macos-x86-64:
needs:
- build-macos-x86-64
runs-on: macos-11
runs-on: macos-13
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]
### Changed
- We switched the builds for x86-64 macOS to macOS 13 image (from macOS 11).

## [1.8.29] - 2024-05-28
### Changed
- Update to [TDLib v1.8.29](https://github.com/tdlib/td/tree/fd3154b28727df9e66423d64168fab1202d8c849).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tdlib.native

This is a project to pack [TDLib][tdlib] (the Telegram Database library) binaries built for several platforms:

- [MacOS 11][spec.macos-11] (x86-64) _(GitHub Actions image: `macos-11`)_
- [MacOS 13][spec.macos-13] (x86-64) _(GitHub Actions image: `macos-13`)_
- [MacOS 14][spec.macos-14] (AArch64) _(GitHub Actions image: `macos-14`)_
- [Ubuntu 20.04][spec.ubuntu-20.04] (x86-64) _(GitHub Actions image: `ubuntu-20.04`)_
- [Ubuntu 22.04][spec.ubuntu-22.04] (x86-64) _(GitHub Actions image: `ubuntu-22.04`)_
Expand Down Expand Up @@ -73,7 +73,7 @@ Documentation
[releases]: https://github.com/ForNeVeR/tdlib.native/releases
[spec.ubuntu-20.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md
[spec.ubuntu-22.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
[spec.macos-11]: https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md
[spec.macos-13]: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
[spec.macos-14]: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
[spec.windows]: https://github.com/actions/runner-images/blob/main/images/win/Windows2019-Readme.md
[tdlib]: https://github.com/tdlib/td
Expand Down
2 changes: 1 addition & 1 deletion common/Test-UpToDate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
[switch] $GenerateResultKey,
[string] $CacheKeyFile = "$RepoRoot/.github/cache-key.json",
[string] $ResultKeyFile = "$ArtifactsDirectory/cache-key.json",
[string] $CacheVersion = 'v2'
[string] $CacheVersion = 'v3'
)

$ErrorActionPreference = 'Stop'
Expand Down
6 changes: 3 additions & 3 deletions github-actions.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ open type Generaptor.Library.Patterns

let mainBranch = "master"

let macOs11 = "macos-11"
let macOs13 = "macos-13"
let macOs14 = "macos-14"
let ubuntu20_04 = "ubuntu-20.04"
let ubuntu22_04 = "ubuntu-22.04"
Expand Down Expand Up @@ -218,7 +218,7 @@ let workflows = [
)

Workflows.BuildJob(
image = macOs11,
image = macOs13,
platform = Platform.MacOS,
arch = Arch.X86_64,
installScript = "./macos/install.ps1",
Expand Down Expand Up @@ -288,7 +288,7 @@ let workflows = [
)

Workflows.TestJob(
image = macOs11,
image = macOs13,
platform = Platform.MacOS,
arch = Arch.X86_64,
testArgs = "-NuGet nuget",
Expand Down

0 comments on commit b2d2cae

Please sign in to comment.