From ab477a477d0da0533b7a020805f817f71485f842 Mon Sep 17 00:00:00 2001 From: Matthew Tamayo Date: Thu, 19 Jan 2023 11:49:39 -0800 Subject: [PATCH 1/2] Pin test and release runners to ubuntu-20.04 This should avoid pulling in breaking version of glibc until we address #120. --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1d5eadd..62f081f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,13 @@ jobs: strategy: matrix: rust-toolchain: [stable] - os: [ubuntu-latest, macos-11, windows-latest] + os: [ubuntu-20.04, macos-11, windows-latest] arch: [amd64, arm64] exclude: - os: windows-latest arch: arm64 include: - - os: ubuntu-latest + - os: ubuntu-20.04 name: linux rust_abi: unknown-linux-gnu - os: macos-11 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 006f3d5a..a31ccf69 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: test: strategy: matrix: - platform: [ubuntu-latest, windows-latest, macos-latest] + platform: [ubuntu-20.04, windows-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: - name: Checkout code @@ -48,7 +48,7 @@ jobs: trap-test: strategy: matrix: - platform: [ubuntu-latest, windows-latest, macos-latest] + platform: [ubuntu-20.04, windows-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: - name: Checkout code @@ -76,7 +76,7 @@ jobs: shell: bash package-check: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v3 From c5fc2db659c70da0806128efed249fc59d079bd5 Mon Sep 17 00:00:00 2001 From: Matthew Tamayo Date: Thu, 19 Jan 2023 13:27:08 -0800 Subject: [PATCH 2/2] Also pin windows and mac. --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62f081f6..c5061612 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: rust-toolchain: [stable] - os: [ubuntu-20.04, macos-11, windows-latest] + os: [ubuntu-20.04, macos-11, windows-2022] arch: [amd64, arm64] exclude: - os: windows-latest @@ -22,7 +22,7 @@ jobs: - os: macos-11 name: darwin rust_abi: apple-darwin - - os: windows-latest + - os: windows-2022 name: windows rust_abi: pc-windows-msvc extension: .exe diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a31ccf69..1510d02b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: test: strategy: matrix: - platform: [ubuntu-20.04, windows-latest, macos-latest] + platform: [ubuntu-20.04, windows-2022, macos-11] runs-on: ${{ matrix.platform }} steps: - name: Checkout code @@ -48,7 +48,7 @@ jobs: trap-test: strategy: matrix: - platform: [ubuntu-20.04, windows-latest, macos-latest] + platform: [ubuntu-20.04, windows-2022, macos-11] runs-on: ${{ matrix.platform }} steps: - name: Checkout code