From 5f27deab94dc5c2943ebf3898a8217cccbaade31 Mon Sep 17 00:00:00 2001 From: Jarek Samic Date: Fri, 20 Jan 2023 19:25:19 -0500 Subject: [PATCH 1/2] Build in CI on macOS too --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c780ed5..9398d96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, windows-latest, macos-latest] rust: - stable - 1.51.0 From 64f025102925106d08c107d020c020797f292955 Mon Sep 17 00:00:00 2001 From: Jarek Samic Date: Sat, 21 Jan 2023 12:37:39 -0500 Subject: [PATCH 2/2] Avoid trying to build on macos-latest with Rust 1.51 --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9398d96..a421c0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest] rust: - stable - 1.51.0 + # Avoid trying to build on macos-latest with Rust 1.51 + # + # Rust < 1.54 doesn't work with xcode 14 + # https://github.com/rust-lang/rust/issues/103044 + include: + - os: macos-latest + rust: stable steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1