Skip to content

Commit 08f393e

Browse files
committed
Attempt to add --all-features to CI.
1 parent b6425d6 commit 08f393e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.cirrus.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ build: &BUILD
1818
- . $HOME/.cargo/env || true
1919
- $TOOL -Vv
2020
- rustc -Vv
21-
- $TOOL $BUILD $ZFLAGS --target $TARGET --all-targets
22-
- $TOOL doc $ZFLAGS --no-deps --target $TARGET
23-
- $TOOL clippy $ZFLAGS --target $TARGET --all-targets -- $CLIPPYFLAGS
21+
- $TOOL $BUILD $ZFLAGS --target $TARGET --all-targets --all-features
22+
- $TOOL doc $ZFLAGS --no-deps --target $TARGET --all-features
23+
- $TOOL clippy $ZFLAGS --target $TARGET --all-targets --all-features -- $CLIPPYFLAGS
2424
- if [ -z "$NOHACK" ]; then mkdir -p $HOME/.cargo/bin; export PATH=$HOME/.cargo/bin:$PATH; fi
2525
- if [ -z "$NOHACK" ]; then curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-${HOST:-$TARGET}.tar.gz | tar xzf - -C ~/.cargo/bin; fi
2626
- if [ -z "$NOHACK" ]; then $TOOL hack $ZFLAGS check --target $TARGET --each-feature; fi
@@ -30,7 +30,7 @@ test: &TEST
3030
<< : *BUILD
3131
test_script:
3232
- . $HOME/.cargo/env || true
33-
- $TOOL test --target $TARGET
33+
- $TOOL test --target $TARGET --all-features
3434

3535
# Test FreeBSD in a full VM. Test the i686 target too, in the
3636
# same VM. The binary will be built in 32-bit mode, but will execute on a
@@ -59,9 +59,9 @@ task:
5959
<< : *TEST
6060
i386_test_script:
6161
- . $HOME/.cargo/env
62-
- cargo build --target i686-unknown-freebsd
63-
- cargo doc --no-deps --target i686-unknown-freebsd
64-
- cargo test --target i686-unknown-freebsd
62+
- cargo build --target i686-unknown-freebsd --all-features
63+
- cargo doc --no-deps --target i686-unknown-freebsd --all-features
64+
- cargo test --target i686-unknown-freebsd --all-features
6565
i386_feature_script:
6666
- . $HOME/.cargo/env
6767
- if [ -z "$NOHACK" ]; then cargo hack check --each-feature --target i686-unknown-freebsd; fi

0 commit comments

Comments
 (0)