mirror of
https://github.com/ratatui/ratatui.git
synced 2025-10-03 15:56:22 +00:00
ci: add job to check no-std build (#1851)
Uses x86_64-unknown-none as an arbitrary target that does not support the std library Resolves: https://github.com/ratatui/ratatui/issues/1843
This commit is contained in:
parent
4fcd238e1e
commit
a0746bad7e
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -132,6 +132,23 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cargo xtask check --all-features
|
- run: cargo xtask check --all-features
|
||||||
|
|
||||||
|
build-no-std:
|
||||||
|
name: Build No-Std
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: x86_64-unknown-none
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
# This makes it easier to debug the exact versions of the dependencies
|
||||||
|
- run: cargo tree --target x86_64-unknown-none -p ratatui-core
|
||||||
|
- run: cargo tree --target x86_64-unknown-none -p ratatui-widgets
|
||||||
|
- run: cargo tree --target x86_64-unknown-none -p ratatui --no-default-features
|
||||||
|
- run: cargo build --target x86_64-unknown-none -p ratatui-core
|
||||||
|
- run: cargo build --target x86_64-unknown-none -p ratatui-widgets
|
||||||
|
- run: cargo build --target x86_64-unknown-none -p ratatui --no-default-features
|
||||||
|
|
||||||
# Check if README.md is up-to-date with the crate's documentation.
|
# Check if README.md is up-to-date with the crate's documentation.
|
||||||
check-readme:
|
check-readme:
|
||||||
name: Check README
|
name: Check README
|
||||||
|
Loading…
x
Reference in New Issue
Block a user