Skip to content

Commit 6a60c0e

Browse files
committed
Build for mac target version in CI
1 parent 463e8f7 commit 6a60c0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ jobs:
143143
- name: Install Rust (${{matrix.rust}})
144144
uses: dtolnay/rust-toolchain@stable
145145
with: {toolchain: '${{matrix.rust}}'}
146+
- name: Set target version for macos-13
147+
run: |
148+
echo "CMAKE_OSX_DEPLOYMENT_TARGET=10.12" >> $GITHUB_ENV
149+
if : ${{matrix.os}} == 'macos-13'
146150
- name: Build and test
147151
run: cargo test -vv --features netcdf/derive,static --workspace --exclude netcdf-derive
148152

0 commit comments

Comments
 (0)