Skip to content
Open
Show file tree
Hide file tree
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
50 changes: 27 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,37 @@ on:
pull_request:

jobs:
build-msrv:
name: Build on MSRV (1.71)
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
rust: 1.71.0
- os: windows-latest
target: i686-pc-windows-msvc
rust: 1.71.0
runs-on: ${{ matrix.os }}
msrv:
name: MSRV
runs-on: ubuntu-latest
env:
# Matches Tier 1 job targets
TARGETS: |
aarch64-unknown-linux-gnu
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
i686-pc-windows-gnu
i686-pc-windows-msvc
x86_64-pc-windows-gnu
x86_64-pc-windows-msvc
x86_64-apple-darwin
steps:
- name: Install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- name: Checkout
uses: actions/checkout@v7
- uses: taiki-e/install-action@v2.87.11
with:
tool: |
cargo-hack
cargo-minimal-versions
fallback: none
- name: Check
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
run: make check
run: |
cargo minimal-versions check \
--workspace \
--feature-powerset \
--ignore-private \
--rust-version \
$(printf '%s\n' "$TARGETS" | xargs -n1 printf -- '--target %s ')

test:
name: Tests
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/minver.yml

This file was deleted.

Loading