diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4cb05b9..d9520135 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,3 +144,27 @@ jobs: - s390x-unknown-linux-gnu - x86_64-unknown-linux-gnu - x86_64-unknown-linux-musl + + minimal-versions: + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + submodules: true + + - run: | + rustup toolchain install nightly --profile minimal --no-self-update + cargo +nightly update -Zminimal-versions + + - run: cargo build + - run: cargo build --features zlib-ng --no-default-features + - run: cargo build --no-default-features --features zlib-ng-no-cmake-experimental-community-maintained || echo "::warning::failed to build libz-ng with --features zlib-ng-no-cmake-experimental-community-maintained" + + + strategy: + fail-fast: false + matrix: + os: + - windows-2022 + - macos-latest + - ubuntu-latest diff --git a/Cargo-zng.toml b/Cargo-zng.toml index 9a6a3ee6..97b9c694 100644 --- a/Cargo-zng.toml +++ b/Cargo-zng.toml @@ -1,6 +1,6 @@ [package] name = "libz-ng-sys" -version = "1.1.15" +version = "1.1.16" authors = [ "Alex Crichton ", "Josh Triplett ", @@ -36,7 +36,7 @@ members = ["systest"] libc = "0.2.43" [build-dependencies] -cmake = "0.1" +cmake = "0.1.50" [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(zng)'] } diff --git a/Cargo.toml b/Cargo.toml index 84ba77be..938f75f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libz-sys" -version = "1.1.19" +version = "1.1.20" authors = [ "Alex Crichton ", "Josh Triplett ", @@ -56,7 +56,7 @@ libc = { version = "0.2.43", optional = true } pkg-config = "0.3.9" cc = "1.0.98" cmake = { version = "0.1.50", optional = true } -vcpkg = "0.2" +vcpkg = "0.2.11" [features] default = ["libc", "stock-zlib"]