Skip to content

Commit 0aa58fd

Browse files
authored
Merge pull request #164 from georust/zarr_enabled_by_default
Enable zarr support on static builds
2 parents 78368c8 + 29dd86b commit 0aa58fd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.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 "MACOSX_DEPLOYMENT_TARGET=13.7" >> $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

netcdf-src/build.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ fn main() {
3333
//
3434
.define("NETCDF_ENABLE_PARALLEL4", "OFF") // TODO: Enable mpi support
3535
//
36-
.define("NETCDF_ENABLE_NCZARR", "OFF") // TODO: requires a bunch of deps
36+
.define("NETCDF_ENABLE_NCZARR", "ON")
37+
.define("NETCDF_ENABLE_NCZARR_ZIP", "OFF") // TODO: requires forwarding flags for libz
38+
.define("NETCDF_ENABLE_S3", "OFF") // TODO: requires a bunch of deps
3739
//
3840
.define("NETCDF_ENABLE_DAP", "OFF") // TODO: feature flag, requires curl
3941
.define("NETCDF_ENABLE_BYTERANGE", "OFF") // TODO: feature flag, requires curl

0 commit comments

Comments
 (0)