Skip to content

Commit f6b4c60

Browse files
authored
Merge pull request #426 from jongiddy/minimum-build
Add minimum build test back in to CI
2 parents 50852c6 + 8a1393d commit f6b4c60

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282
matrix:
8383
os: [windows-2022, macos-latest, ubuntu-latest]
8484
env:
85-
# If this is changed to pass tests, then set `rust-version` in `Cargo.toml` to the same version.
8685
version: 1.63.0
8786
steps:
8887
- uses: actions/checkout@v4
@@ -99,3 +98,17 @@ jobs:
9998
- run: cargo build --features zlib-ng-compat --no-default-features
10099
- run: cargo build --features zlib-ng --no-default-features
101100
- run: cargo build --features cloudflare_zlib --no-default-features
101+
102+
# Minimum Rust compiler to build `flate2` with no optional features
103+
minimum-build:
104+
name: Minimum Rust compiler
105+
runs-on: ubuntu-latest
106+
env:
107+
# If this is changed to pass tests, then set `rust-version` in `Cargo.toml` to the same version.
108+
version: 1.56.1
109+
steps:
110+
- uses: actions/checkout@v4
111+
- name: Install Rust (rustup)
112+
run: rustup update ${version} --no-self-update && rustup default ${version}
113+
shell: bash
114+
- run: cargo build

0 commit comments

Comments
 (0)