Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimum build test back in to CI #426

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ jobs:
matrix:
os: [windows-2022, macos-latest, ubuntu-latest]
env:
# If this is changed to pass tests, then set `rust-version` in `Cargo.toml` to the same version.
version: 1.63.0
steps:
- uses: actions/checkout@v4
Expand All @@ -99,3 +98,17 @@ jobs:
- run: cargo build --features zlib-ng-compat --no-default-features
- run: cargo build --features zlib-ng --no-default-features
- run: cargo build --features cloudflare_zlib --no-default-features

# Minimum Rust compiler to build `flate2` with no optional features
minimum-build:
name: Minimum Rust compiler
runs-on: ubuntu-latest
env:
# If this is changed to pass tests, then set `rust-version` in `Cargo.toml` to the same version.
version: 1.56.1
steps:
- uses: actions/checkout@v4
- name: Install Rust (rustup)
run: rustup update ${version} --no-self-update && rustup default ${version}
shell: bash
- run: cargo build