Skip to content

Commit

Permalink
Merge pull request #426 from jongiddy/minimum-build
Browse files Browse the repository at this point in the history
Add minimum build test back in to CI
  • Loading branch information
Byron authored Aug 25, 2024
2 parents 50852c6 + 8a1393d commit f6b4c60
Showing 1 changed file with 14 additions and 1 deletion.
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

0 comments on commit f6b4c60

Please sign in to comment.