Add no_std to CI and add std per feature

This commit is contained in:
grovesNL 2023-08-09 11:42:12 -02:30
parent c4d107563a
commit 3905312f5f

16
ci.sh
View file

@ -13,20 +13,20 @@ cargo fmt --check
echo Build with default features echo Build with default features
build build
echo Build with no default features echo Build with only no_std feature
build --no-default-features build --no-default-features --features no_std
echo Build with only std feature echo Build with only std feature
build --no-default-features --features std build --no-default-features --features std
echo Build with only swash feature echo Build with only std and swash features
build --no-default-features --features swash build --no-default-features --features std,swash
echo Build with only syntect feature echo Build with only std and syntect features
build --no-default-features --features syntect build --no-default-features --features std,syntect
echo Build with only vi feature echo Build with only std and vi features
build --no-default-features --features vi build --no-default-features --features std,vi
echo Build with all features echo Build with all features
build --all-features build --all-features