From 8949ffc1212a2a963ed8ab4ee5b6f5944ff3fcbe Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Tue, 4 Oct 2022 20:10:10 +0900 Subject: [PATCH] gha: Downgrade macOS image to 11 as workaround Signed-off-by: Yuki Okushi --- .github/workflows/bors.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bors.yml b/.github/workflows/bors.yml index ab08c167f1026..c8e6b8e061738 100644 --- a/.github/workflows/bors.yml +++ b/.github/workflows/bors.yml @@ -223,7 +223,11 @@ jobs: build_channels_macos: name: Build Channels macOS needs: macos - runs-on: macos-12 + # FIXME: Use macOS 11 for now as CI failed with a linker error on macOS 12 image: + # ld: in /.../x86_64-apple-darwin/lib/libstd-a4729905.rlib(rust.metadata.bin), + # archive member 'rust.metadata.bin' with length 2958149 is not mach-o or llvm bitcode file '/.../x86_64-apple-darwin/lib/libstd-a4729905.rlib' + # Possibly related: https://github.com/actions/runner-images/issues/6350 + runs-on: macos-11 env: OS: macos strategy: