Skip to content

Commit cbe0d41

Browse files
committed
CI: Use XCode version compatible with MSRV when testing on macos
1 parent e470e2b commit cbe0d41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
os: [ubuntu-latest, windows-latest, macos-12]
1212
steps:
1313
- uses: actions/checkout@v4
14+
# https://internals.rust-lang.org/t/should-i-expect-rust-1-28-1-30-to-support-building-on-macos-12/17713/2
15+
- name: Use XCode version compatible with MSRV
16+
run: xcode-select --switch /Applications/Xcode_13.2.1.app
17+
if: matrix.os == 'macos-12'
1418
- name: Run tests
1519
run: cargo test --verbose
1620
- name: Verify working directory is clean

0 commit comments

Comments
 (0)