ci: run build on unsupported platforms instead of check, bump cross version (#1083)

This commit is contained in:
Clement Tsang 2023-04-03 04:45:36 -04:00 committed by GitHub
parent 8814bc53e3
commit c8c64b0c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View file

@ -150,7 +150,7 @@ jobs:
command: build
args: --release --verbose --locked --target=${{ matrix.info.target }} --features deploy
use-cross: ${{ matrix.info.cross }}
cross-version: 0.2.4
cross-version: 0.2.5
- name: Move automatically generated completion/manpage
shell: bash
@ -336,7 +336,7 @@ jobs:
command: build
args: --release --locked --verbose --features deploy --target ${{ matrix.info.target }}
use-cross: ${{ matrix.info.cross }}
cross-version: 0.2.4
cross-version: 0.2.5
- name: Move automatically generated completion/manpage
shell: bash

View file

@ -111,7 +111,7 @@ jobs:
command: test
args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }}
use-cross: ${{ matrix.info.cross }}
cross-version: 0.2.4
cross-version: 0.2.5
env:
RUST_BACKTRACE: full
@ -121,7 +121,7 @@ jobs:
command: test
args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet
use-cross: ${{ matrix.info.cross }}
cross-version: 0.2.4
cross-version: 0.2.5
env:
RUST_BACKTRACE: full
@ -131,17 +131,18 @@ jobs:
command: clippy
args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings
use-cross: ${{ matrix.info.cross }}
cross-version: 0.2.4
cross-version: 0.2.5
env:
RUST_BACKTRACE: full
# Run cargo check on all other platforms
# Check running cargo build on all other platforms.
# TODO: Maybe some of these should be allowed to fail.
other-check:
needs: pre-job
runs-on: ${{ matrix.info.os }}
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
continue-on-error: true
timeout-minutes: 18
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
@ -178,7 +179,7 @@ jobs:
rust: stable,
}
# Beta; should be allowed to fail.
# Beta
- {
os: "ubuntu-latest",
target: "x86_64-unknown-linux-gnu",
@ -246,13 +247,13 @@ jobs:
with:
key: ${{ matrix.info.target }}
- name: Check
- name: Try building
uses: ClementTsang/cargo-action@v0.0.3
with:
command: check
command: build
args: --all-targets --verbose --target=${{ matrix.info.target }} --locked
use-cross: ${{ matrix.info.cross }}
cross-version: 0.2.4
cross-version: 0.2.5
completion:
name: "CI Pass Check"