From 5636fe4a9c8059bc9662925139cd6ed57ed86708 Mon Sep 17 00:00:00 2001 From: awaelchli Date: Sun, 30 Jun 2024 22:19:38 +0200 Subject: [PATCH] CI: replace macOS-11 with macOS-14 (#20029) --- .github/checkgroup.yml | 22 +++++++++++----------- .github/workflows/ci-tests-fabric.yml | 10 +++++----- .github/workflows/ci-tests-pytorch.yml | 10 +++++----- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/checkgroup.yml b/.github/checkgroup.yml index 720cb47b4b..22b2dee5dd 100644 --- a/.github/checkgroup.yml +++ b/.github/checkgroup.yml @@ -19,10 +19,10 @@ subprojects: - "!*.md" - "!**/*.md" checks: - - "pl-cpu (macOS-11, lightning, 3.8, 2.0, oldest)" - - "pl-cpu (macOS-11, lightning, 3.10, 2.0)" - - "pl-cpu (macOS-11, lightning, 3.10, 2.1)" - - "pl-cpu (macOS-11, lightning, 3.10, 2.2)" + - "pl-cpu (macOS-13, lightning, 3.8, 2.0, oldest)" + - "pl-cpu (macOS-14, lightning, 3.10, 2.0)" + - "pl-cpu (macOS-14, lightning, 3.10, 2.1)" + - "pl-cpu (macOS-14, lightning, 3.10, 2.2)" - "pl-cpu (macOS-14, lightning, 3.10, 2.3)" - "pl-cpu (ubuntu-20.04, lightning, 3.8, 2.0, oldest)" - "pl-cpu (ubuntu-20.04, lightning, 3.10, 2.0)" @@ -34,7 +34,7 @@ subprojects: - "pl-cpu (windows-2022, lightning, 3.10, 2.1)" - "pl-cpu (windows-2022, lightning, 3.10, 2.2)" - "pl-cpu (windows-2022, lightning, 3.10, 2.3)" - - "pl-cpu (macOS-11, pytorch, 3.8, 2.0)" + - "pl-cpu (macOS-14, pytorch, 3.8, 2.0)" - "pl-cpu (ubuntu-20.04, pytorch, 3.8, 2.0)" - "pl-cpu (windows-2022, pytorch, 3.8, 2.0)" - "pl-cpu (macOS-12, pytorch, 3.11, 2.0)" @@ -171,10 +171,10 @@ subprojects: - "!*.md" - "!**/*.md" checks: - - "fabric-cpu (macOS-11, lightning, 3.8, 2.0, oldest)" - - "fabric-cpu (macOS-11, lightning, 3.10, 2.0)" - - "fabric-cpu (macOS-11, lightning, 3.11, 2.1)" - - "fabric-cpu (macOS-11, lightning, 3.11, 2.2)" + - "fabric-cpu (macOS-13, lightning, 3.8, 2.0, oldest)" + - "fabric-cpu (macOS-14, lightning, 3.10, 2.0)" + - "fabric-cpu (macOS-14, lightning, 3.11, 2.1)" + - "fabric-cpu (macOS-14, lightning, 3.11, 2.2)" - "fabric-cpu (macOS-14, lightning, 3.10, 2.3)" - "fabric-cpu (ubuntu-20.04, lightning, 3.8, 2.0, oldest)" - "fabric-cpu (ubuntu-20.04, lightning, 3.10, 2.0)" @@ -186,7 +186,7 @@ subprojects: - "fabric-cpu (windows-2022, lightning, 3.11, 2.1)" - "fabric-cpu (windows-2022, lightning, 3.11, 2.2)" - "fabric-cpu (windows-2022, lightning, 3.11, 2.3)" - - "fabric-cpu (macOS-11, fabric, 3.8, 2.0)" + - "fabric-cpu (macOS-14, fabric, 3.8, 2.0)" - "fabric-cpu (ubuntu-20.04, fabric, 3.8, 2.0)" - "fabric-cpu (windows-2022, fabric, 3.8, 2.0)" - "fabric-cpu (macOS-12, fabric, 3.11, 2.0)" @@ -298,7 +298,7 @@ subprojects: - "src/lightning/store/**" - "tests/tests_store/**" checks: - - "store-cpu (macOS-11, lightning, 3.10, 2.0)" + - "store-cpu (macOS-14, lightning, 3.10, 2.0)" - "store-cpu (ubuntu-20.04, lightning, 3.10, 2.0)" - "store-cpu (windows-2022, lightning, 3.10, 2.0)" diff --git a/.github/workflows/ci-tests-fabric.yml b/.github/workflows/ci-tests-fabric.yml index 082636a617..009e03f38c 100644 --- a/.github/workflows/ci-tests-fabric.yml +++ b/.github/workflows/ci-tests-fabric.yml @@ -39,14 +39,14 @@ jobs: fail-fast: false matrix: include: - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } + - { os: "macOS-14", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } - { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } - { os: "windows-2022", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } # only run PyTorch latest - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.1" } + - { os: "macOS-14", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.1" } - { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.1" } - { os: "windows-2022", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.1" } - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.2" } + - { os: "macOS-14", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.2" } - { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.2" } - { os: "windows-2022", pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.2" } - { os: "macOS-14", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.3" } @@ -60,7 +60,7 @@ jobs: - { os: "ubuntu-22.04", pkg-name: "fabric", python-version: "3.11", pytorch-version: "2.1" } - { os: "windows-2022", pkg-name: "fabric", python-version: "3.11", pytorch-version: "2.1" } # "oldest" versions tests, only on minimum Python - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest" } + - { os: "macOS-13", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest" } - { os: "ubuntu-20.04", pkg-name: "lightning", @@ -76,7 +76,7 @@ jobs: requires: "oldest", } # "fabric" installs the standalone package - - { os: "macOS-11", pkg-name: "fabric", python-version: "3.8", pytorch-version: "2.0" } + - { os: "macOS-14", pkg-name: "fabric", python-version: "3.8", pytorch-version: "2.0" } - { os: "ubuntu-20.04", pkg-name: "fabric", python-version: "3.8", pytorch-version: "2.0" } - { os: "windows-2022", pkg-name: "fabric", python-version: "3.8", pytorch-version: "2.0" } timeout-minutes: 25 # because of building grpcio on Mac diff --git a/.github/workflows/ci-tests-pytorch.yml b/.github/workflows/ci-tests-pytorch.yml index b0b10ef4ac..967369976e 100644 --- a/.github/workflows/ci-tests-pytorch.yml +++ b/.github/workflows/ci-tests-pytorch.yml @@ -43,14 +43,14 @@ jobs: fail-fast: false matrix: include: - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } + - { os: "macOS-14", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } - { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } - { os: "windows-2022", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" } # only run PyTorch latest - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" } + - { os: "macOS-14", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" } - { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" } - { os: "windows-2022", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" } - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.2" } + - { os: "macOS-14", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.2" } - { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.2" } - { os: "windows-2022", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.2" } - { os: "macOS-14", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.3" } @@ -64,7 +64,7 @@ jobs: - { os: "ubuntu-22.04", pkg-name: "pytorch", python-version: "3.11", pytorch-version: "2.1" } - { os: "windows-2022", pkg-name: "pytorch", python-version: "3.11", pytorch-version: "2.1" } # "oldest" versions tests, only on minimum Python - - { os: "macOS-11", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest" } + - { os: "macOS-13", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest" } - { os: "ubuntu-20.04", pkg-name: "lightning", @@ -80,7 +80,7 @@ jobs: requires: "oldest", } # "pytorch" installs the standalone package - - { os: "macOS-11", pkg-name: "pytorch", python-version: "3.8", pytorch-version: "2.0" } + - { os: "macOS-14", pkg-name: "pytorch", python-version: "3.8", pytorch-version: "2.0" } - { os: "ubuntu-20.04", pkg-name: "pytorch", python-version: "3.8", pytorch-version: "2.0" } - { os: "windows-2022", pkg-name: "pytorch", python-version: "3.8", pytorch-version: "2.0" } timeout-minutes: 50