mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 21:55:11 +02:00
parent
d8f8a92b55
commit
4d46e7159b
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
components: rustfmt
|
components: rustfmt
|
||||||
- run: cargo fmt --all -- --check
|
- run: cargo fmt --all -- --check
|
||||||
|
|
||||||
# Check clippy. This doesn't check ARM though.
|
# Check clippy. Note that this doesn't check ARM.
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
@ -171,6 +171,8 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
target: ${{ matrix.triple.target }}
|
target: ${{ matrix.triple.target }}
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -178,6 +180,7 @@ jobs:
|
|||||||
args: --all-targets --verbose --target=${{ matrix.triple.target }} --no-default-features
|
args: --all-targets --verbose --target=${{ matrix.triple.target }} --no-default-features
|
||||||
use-cross: ${{ matrix.triple.cross }}
|
use-cross: ${{ matrix.triple.cross }}
|
||||||
|
|
||||||
|
# Run tests on a subset of platforms
|
||||||
tests:
|
tests:
|
||||||
needs: [check]
|
needs: [check]
|
||||||
name: Test ${{ matrix.os }}
|
name: Test ${{ matrix.os }}
|
||||||
@ -199,6 +202,8 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --no-fail-fast
|
run: cargo test --no-fail-fast
|
||||||
env:
|
env:
|
||||||
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@ -37,6 +37,7 @@
|
|||||||
"SEGV",
|
"SEGV",
|
||||||
"SIGTERM",
|
"SIGTERM",
|
||||||
"STKFLT",
|
"STKFLT",
|
||||||
|
"Swatinem",
|
||||||
"TEBI",
|
"TEBI",
|
||||||
"TERA",
|
"TERA",
|
||||||
"TSTP",
|
"TSTP",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user