Skip to content

Commit

Permalink
Use cross for the Tier 1 targets too
Browse files Browse the repository at this point in the history
  • Loading branch information
svartalf committed Sep 24, 2023
1 parent b2d834b commit 1d75add
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,18 @@ jobs:
with:
toolchain: 1.66.0
targets: ${{ matrix.target }}
- uses: taiki-e/install-action@v2
with:
tool: cross

- name: Check without features
run: cargo check
run: cargo check --target=${{ matrix.target }}

- name: Check with all features enabled
run: cargo check --all-features --target=${{ matrix.target }}
run: cross check --all-features --target=${{ matrix.target }}

- name: Run tests
run: cargo test --all-features --target=${{ matrix.target }}
run: cross test --all-features --target=${{ matrix.target }}

tier2_with_host_tools:
# Matches Rust "Tier 2 with Host Tools" platform support
Expand Down Expand Up @@ -122,6 +125,9 @@ jobs:
with:
toolchain: 1.66.0
targets: ${{ matrix.target }}
- uses: taiki-e/install-action@v2
with:
tool: cross
- name: Run build
# TODO: Temporary
continue-on-error: true
Expand Down

0 comments on commit 1d75add

Please sign in to comment.