mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 21:55:11 +02:00
ci: run build on unsupported platforms instead of check, bump cross version (#1083)
This commit is contained in:
parent
8814bc53e3
commit
c8c64b0c80
4
.github/workflows/build_releases.yml
vendored
4
.github/workflows/build_releases.yml
vendored
@ -150,7 +150,7 @@ jobs:
|
|||||||
command: build
|
command: build
|
||||||
args: --release --verbose --locked --target=${{ matrix.info.target }} --features deploy
|
args: --release --verbose --locked --target=${{ matrix.info.target }} --features deploy
|
||||||
use-cross: ${{ matrix.info.cross }}
|
use-cross: ${{ matrix.info.cross }}
|
||||||
cross-version: 0.2.4
|
cross-version: 0.2.5
|
||||||
|
|
||||||
- name: Move automatically generated completion/manpage
|
- name: Move automatically generated completion/manpage
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -336,7 +336,7 @@ jobs:
|
|||||||
command: build
|
command: build
|
||||||
args: --release --locked --verbose --features deploy --target ${{ matrix.info.target }}
|
args: --release --locked --verbose --features deploy --target ${{ matrix.info.target }}
|
||||||
use-cross: ${{ matrix.info.cross }}
|
use-cross: ${{ matrix.info.cross }}
|
||||||
cross-version: 0.2.4
|
cross-version: 0.2.5
|
||||||
|
|
||||||
- name: Move automatically generated completion/manpage
|
- name: Move automatically generated completion/manpage
|
||||||
shell: bash
|
shell: bash
|
||||||
|
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -111,7 +111,7 @@ jobs:
|
|||||||
command: test
|
command: test
|
||||||
args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }}
|
args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }}
|
||||||
use-cross: ${{ matrix.info.cross }}
|
use-cross: ${{ matrix.info.cross }}
|
||||||
cross-version: 0.2.4
|
cross-version: 0.2.5
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ jobs:
|
|||||||
command: test
|
command: test
|
||||||
args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet
|
args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet
|
||||||
use-cross: ${{ matrix.info.cross }}
|
use-cross: ${{ matrix.info.cross }}
|
||||||
cross-version: 0.2.4
|
cross-version: 0.2.5
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
|
|
||||||
@ -131,17 +131,18 @@ jobs:
|
|||||||
command: clippy
|
command: clippy
|
||||||
args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings
|
args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings
|
||||||
use-cross: ${{ matrix.info.cross }}
|
use-cross: ${{ matrix.info.cross }}
|
||||||
cross-version: 0.2.4
|
cross-version: 0.2.5
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: full
|
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:
|
other-check:
|
||||||
needs: pre-job
|
needs: pre-job
|
||||||
runs-on: ${{ matrix.info.os }}
|
runs-on: ${{ matrix.info.os }}
|
||||||
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
|
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
timeout-minutes: 18
|
timeout-minutes: 20
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -178,7 +179,7 @@ jobs:
|
|||||||
rust: stable,
|
rust: stable,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Beta; should be allowed to fail.
|
# Beta
|
||||||
- {
|
- {
|
||||||
os: "ubuntu-latest",
|
os: "ubuntu-latest",
|
||||||
target: "x86_64-unknown-linux-gnu",
|
target: "x86_64-unknown-linux-gnu",
|
||||||
@ -246,13 +247,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: ${{ matrix.info.target }}
|
key: ${{ matrix.info.target }}
|
||||||
|
|
||||||
- name: Check
|
- name: Try building
|
||||||
uses: ClementTsang/cargo-action@v0.0.3
|
uses: ClementTsang/cargo-action@v0.0.3
|
||||||
with:
|
with:
|
||||||
command: check
|
command: build
|
||||||
args: --all-targets --verbose --target=${{ matrix.info.target }} --locked
|
args: --all-targets --verbose --target=${{ matrix.info.target }} --locked
|
||||||
use-cross: ${{ matrix.info.cross }}
|
use-cross: ${{ matrix.info.cross }}
|
||||||
cross-version: 0.2.4
|
cross-version: 0.2.5
|
||||||
|
|
||||||
completion:
|
completion:
|
||||||
name: "CI Pass Check"
|
name: "CI Pass Check"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user