From ca12b2e30e53b994a42989cb45d5fffdb8ab11d1 Mon Sep 17 00:00:00 2001 From: Reilly Wood <26268125+rgwood@users.noreply.github.com> Date: Mon, 5 Dec 2022 10:12:36 -0800 Subject: [PATCH] Pin CI jobs to Ubuntu 20.04 (#7359) The release job was pinned to Ubuntu 20.04 to avoid glibc breakage in https://github.com/nushell/nushell/pull/7290. This PR updates the CI jobs to keep things consistent (it would sure be unpleasant if things worked in CI but not at release time). --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5817037377..7fa8d3d42d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,10 @@ jobs: strategy: fail-fast: true matrix: - platform: [windows-latest, macos-latest, ubuntu-latest] + # Pinning to Ubuntu 20.04 because building on newer Ubuntu versions causes linux-gnu + # builds to link against a too-new-for-many-Linux-installs glibc version. Consider + # revisiting this when 20.04 is closer to EOL (April 2025) + platform: [windows-latest, macos-latest, ubuntu-20.04] rust: - stable @@ -44,7 +47,7 @@ jobs: strategy: fail-fast: true matrix: - platform: [windows-latest, macos-latest, ubuntu-latest] + platform: [windows-latest, macos-latest, ubuntu-20.04] style: [default, dataframe] rust: - stable @@ -81,7 +84,7 @@ jobs: strategy: fail-fast: true matrix: - platform: [ubuntu-latest, macos-latest, windows-latest] + platform: [ubuntu-20.04, macos-latest, windows-latest] rust: - stable py: @@ -125,7 +128,7 @@ jobs: strategy: fail-fast: true matrix: - platform: [windows-latest, macos-latest, ubuntu-latest] + platform: [windows-latest, macos-latest, ubuntu-20.04] rust: - stable