Skip to content

Commit 40d9584

Browse files
author
Marcin Radomski
committed
Add feature builds to CI
Build with default features, no features and all features enabled.
1 parent 1b02dba commit 40d9584

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
- armv7-linux-androideabi
2727
- aarch64-linux-android
2828
- i686-linux-android
29+
features:
30+
- ""
31+
- --no-default-features
32+
- --all-features
2933

3034
steps:
3135
- uses: actions/checkout@v3
@@ -35,8 +39,8 @@ jobs:
3539
toolchain: ${{ matrix.toolchain }}
3640
target: ${{ matrix.target }}
3741

38-
- run: cargo build --target=${{ matrix.target }}
39-
- run: cargo doc --target=${{ matrix.target }}
42+
- run: cargo build --target=${{ matrix.target }} ${{ matrix.features }}
43+
- run: cargo doc --target=${{ matrix.target }} ${{ matrix.features }}
4044
# Temporary test non-target only.
4145
# TODO: Test in emulator or something.
4246
- run: cargo test

0 commit comments

Comments
 (0)